Skip to contentSkip to conversation

#define pci_module_init pci_register_driver

DISCUSSION Ivan Novick 2 participants 2 messages Jun 6, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

It seems an effort was made to replace all pci_module_init calls with pci_register_driver but in -mm it still seems to have pci_module_init for many drivers.

Does anyone know if this is still in the queue somewhere or if it was cancelled? Is pci_register_driver the preferred call to make?

Thanks for any info,

Ivan

#1 lore raw
Quoted 5 lines · Ivan Novick

Hi,

It seems an effort was made to replace all pci_module_init calls with pci_register_driver but in -mm it still seems to have pci_module_init for many drivers.

Yeah, can't seem to stomp all them out :)

Quoted 2 lines

Does anyone know if this is still in the queue somewhere or if it was cancelled? Is pci_register_driver the preferred call to make?

Yes, please call pci_register_driver() instead for all new code.

thanks,

greg k-h