]> err.no Git - linux-2.6/blobdiff - drivers/net/fealnx.c
drivers/net: Remove deprecated use of pci_module_init()
[linux-2.6] / drivers / net / fealnx.c
index 97d34fee8c1fc529d00c54deb0af842c8db2f3f1..a2121faa610ffe5b6991dd6f76f8219057bbc2c1 100644 (file)
@@ -92,7 +92,7 @@ static int full_duplex[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 };
 #include <asm/uaccess.h>
 
 /* These identify the driver base version and may not be removed. */
-static char version[] __devinitdata =
+static char version[] =
 KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE "\n";
 
 
@@ -1984,7 +1984,7 @@ static int __init fealnx_init(void)
        printk(version);
 #endif
 
-       return pci_module_init(&fealnx_driver);
+       return pci_register_driver(&fealnx_driver);
 }
 
 static void __exit fealnx_exit(void)