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

From: [email-masked]
Date: Sun, 06 Mar 2005 11:44:48 +0100

convert from pci_module_init to pci_register_driver

Signed-off-by: Christophe Lucas <[email-masked]>
Signed-off-by: Domen Puncer <[email-masked]>
---

 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 */
_