drivers/macintoshisdn/*: convert to pci_register_driver
PATCH 3/3 drivers/macintoshisdn/*: convert to pci_register_driver
convert from pci_module_init to pci_register_driver
Signed-off-by Christophe Lucas <[email protected]>
Signed-off-by Domen Puncer <[email protected]>
---
kj-domen/drivers/macintosh/macio_asic.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/macintosh/macio_asic.c renamed from drivers/macintosh/macio_asic.c~pci_register_driver-drivers_macintosh_macio_asic +1 -1
@@ -617,7 +617,7 @@ static int __init macio_module_init (voi#ifdef CONFIG_PCI int rc; - rc =pci_module_init (&macio_pci_driver); + rc =pci_register_driver (&macio_pci_driver);if (rc)return rc;#endif /* CONFIG_PCI */
_