summaryrefslogtreecommitdiff
path: root/drivers/net/ioc3-eth.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-11-13 10:13:05 +0000
committerJeff Garzik <jgarzik@pobox.com>2005-11-18 13:29:41 -0500
commit70f1e002cfaad708ac561bcc6700dc50888999f5 (patch)
tree184a5b5301667a14accbb31d3aac0c9d3b522e4b /drivers/net/ioc3-eth.c
parent620d9aa95b7910da07912340971bc2d9b2497382 (diff)
downloadlwn-70f1e002cfaad708ac561bcc6700dc50888999f5.tar.gz
lwn-70f1e002cfaad708ac561bcc6700dc50888999f5.zip
[PATCH] IOC3: Replace obsolete PCI API
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/ioc3-eth.c')
-rw-r--r--drivers/net/ioc3-eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ioc3-eth.c b/drivers/net/ioc3-eth.c
index 6a3129bc15a6..9b8295ee06ef 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)