]> err.no Git - linux-2.6/commitdiff
[PATCH] IOC3: Replace obsolete PCI API
authorRalf Baechle <ralf@linux-mips.org>
Sun, 13 Nov 2005 10:13:05 +0000 (10:13 +0000)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 18 Nov 2005 18:29:41 +0000 (13:29 -0500)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/ioc3-eth.c

index 6a3129bc15a6d6327c5dec32f8e518049e6c5787..9b8295ee06ef1fb069f283a950f12a67b0ae113b 100644 (file)
@@ -1360,7 +1360,7 @@ static struct pci_driver ioc3_driver = {
 
 static int __init ioc3_init_module(void)
 {
-       return pci_module_init(&ioc3_driver);
+       return pci_register_driver(&ioc3_driver);
 }
 
 static void __exit ioc3_cleanup_module(void)