summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-11-13 11:13:05 +0100
committerJeff Garzik <jgarzik@pobox.com>2005-11-18 19:29:41 +0100
commit70f1e002cfaad708ac561bcc6700dc50888999f5 (patch)
tree184a5b5301667a14accbb31d3aac0c9d3b522e4b /drivers
parent[PATCH] i82593.h: make header comment GPL-compatible (diff)
downloadlinux-70f1e002cfaad708ac561bcc6700dc50888999f5.tar.xz
linux-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')
-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)