
From: Domen Puncer <domen@coderock.org>

convert from pci_module_init to pci_register_driver

Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

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

diff -puN drivers/macintosh/macio_asic.c~drivers-macintoshisdn-convert-to-pci_register_driver drivers/macintosh/macio_asic.c
--- 25/drivers/macintosh/macio_asic.c~drivers-macintoshisdn-convert-to-pci_register_driver	2005-03-07 22:12:21.000000000 -0800
+++ 25-akpm/drivers/macintosh/macio_asic.c	2005-03-07 22:12:21.000000000 -0800
@@ -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 */
_
