Skip to content

Commit

Permalink
[PATCH] IOC3: Replace obsolete PCI API
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
Ralf Baechle authored and Jeff Garzik committed Nov 18, 2005
1 parent 620d9aa commit 70f1e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ioc3-eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 70f1e00

Please sign in to comment.