Re: #define pci_module_init pci_register_driver
From: Greg KH
Date: Tue Jun 06 2006 - 18:29:58 EST
On Tue, Jun 06, 2006 at 10:50:06AM +0100, Ivan Novick wrote:
> 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 :)
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/