[PATCH] drivers/*rest*: Replace pci_module_init() with pci_register_driver()
[linux-3.10.git] / drivers / serial / serial_txx9.c
index f10c86d60b647fb8dedad8423d7f507920d3b705..995d9dd9ddd59c721b2ee85c708cb0c111f918f3 100644 (file)
@@ -1195,7 +1195,7 @@ static int __init serial_txx9_init(void)
                serial_txx9_register_ports(&serial_txx9_reg);
 
 #ifdef ENABLE_SERIAL_TXX9_PCI
-               ret = pci_module_init(&serial_txx9_pci_driver);
+               ret = pci_register_driver(&serial_txx9_pci_driver);
 #endif
        }
        return ret;