[patch 3/3] drivers/macintoshisdn/*: convert to pci_register_driver

domen at coderock.org domen at coderock.org
Sun Mar 6 21:44:48 EST 2005


convert from pci_module_init to pci_register_driver

Signed-off-by: Christophe Lucas <c.lucas at ifrance.com>
Signed-off-by: Domen Puncer <domen at coderock.org>
---


 kj-domen/drivers/macintosh/macio_asic.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/macintosh/macio_asic.c~pci_register_driver-drivers_macintosh_macio_asic drivers/macintosh/macio_asic.c
--- kj/drivers/macintosh/macio_asic.c~pci_register_driver-drivers_macintosh_macio_asic	2005-03-05 16:12:26.000000000 +0100
+++ kj-domen/drivers/macintosh/macio_asic.c	2005-03-05 16:12:26.000000000 +0100
@@ -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 */
_



More information about the Linuxppc-dev mailing list