drivers/net: Remove deprecated use of pci_module_init()

From: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
Jeff Garzik
2006-08-19 17:48:59 -04:00
parent 5243a37b79
commit 299176206b
64 changed files with 64 additions and 64 deletions

View File

@@ -351,7 +351,7 @@ MODULE_LICENSE("Dual MPL/GPL");
static int __init orinoco_plx_init(void)
{
printk(KERN_DEBUG "%s\n", version);
return pci_module_init(&orinoco_plx_driver);
return pci_register_driver(&orinoco_plx_driver);
}
static void __exit orinoco_plx_exit(void)