[PATCH] drivers/*rest*: Replace pci_module_init() with pci_register_driver()
[linux-3.10.git] / drivers / video / cyblafb.c
index e9f5dee67e3ccec6c873119ea8e3964954b94d7e..2b972461a030b9f2cfa92ee4aea4a62fa2c8b56e 100644 (file)
@@ -1666,6 +1666,7 @@ static int __devinit cyblafb_init(void)
 #endif
        output("CyblaFB version %s initializing\n", VERSION);
        return pci_module_init(&cyblafb_pci_driver);
+       return pci_register_driver(&cyblafb_pci_driver);
 }
 
 static void __exit cyblafb_exit(void)