]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/yellowfin.c
drivers/net: Remove deprecated use of pci_module_init()
[linux-2.6-omap-h63xx.git] / drivers / net / yellowfin.c
index 8459a18254a4c4cbd67e368c6597965a6d6ed0db..b6b247433709c0d58baacbe7f105c5e0b8b2a813 100644 (file)
@@ -1434,7 +1434,7 @@ static int __init yellowfin_init (void)
 #ifdef MODULE
        printk(version);
 #endif
-       return pci_module_init (&yellowfin_driver);
+       return pci_register_driver(&yellowfin_driver);
 }