From: Ralf Baechle Date: Sun, 13 Nov 2005 10:13:05 +0000 (+0000) Subject: [PATCH] IOC3: Replace obsolete PCI API X-Git-Tag: v2.6.15-rc2~18^2~7 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70f1e002cfaad708ac561bcc6700dc50888999f5;p=linux-2.6 [PATCH] IOC3: Replace obsolete PCI API Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/ioc3-eth.c b/drivers/net/ioc3-eth.c index 6a3129bc15..9b8295ee06 100644 --- a/drivers/net/ioc3-eth.c +++ b/drivers/net/ioc3-eth.c @@ -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)