]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/pcnet32.c
Merge branch 'master' into upstream
[linux-2.6-omap-h63xx.git] / drivers / net / pcnet32.c
index d50bcb89dd2898564b6c86a8e516113f59c263ef..5e26fe806e21e347bf5dbac5c32ea27fa04f3ed3 100644 (file)
@@ -2978,7 +2978,7 @@ static int __init pcnet32_init_module(void)
                tx_start = tx_start_pt;
 
        /* find the PCI devices */
-       if (!pci_module_init(&pcnet32_driver))
+       if (!pci_register_driver(&pcnet32_driver))
                pcnet32_have_pci = 1;
 
        /* should we find any remaining VLbus devices ? */