drivers/net: Remove deprecated use of pci_module_init()
[safe/jmp/linux-2.6] / drivers / net / wireless / ipw2200.c
index 758459e..a72f3e1 100644 (file)
@@ -11753,7 +11753,7 @@ static int __init ipw_init(void)
        printk(KERN_INFO DRV_NAME ": " DRV_DESCRIPTION ", " DRV_VERSION "\n");
        printk(KERN_INFO DRV_NAME ": " DRV_COPYRIGHT "\n");
 
-       ret = pci_module_init(&ipw_driver);
+       ret = pci_register_driver(&ipw_driver);
        if (ret) {
                IPW_ERROR("Unable to initialize PCI module\n");
                return ret;