#define pci_module_init pci_register_driver
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
Quoted 5 lines · Ivan Novick
Hi,
It seems an effort was made to replace all
pci_module_initcalls withpci_register_driverbut in -mm it still seems to havepci_module_initfor 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_driverthe preferred call to make?
Yes, please call pci_register_driver() instead for all new code.
thanks,
greg k-h