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

DORMANTno replies

From: <hidden>
Date: 2005-03-06 10:51:42

convert from pci_module_init to pci_register_driver

Signed-off-by: Christophe Lucas <redacted>
Signed-off-by: Domen Puncer <redacted>
---


 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 */
_
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help