mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] drivers/*rest*: Replace pci_module_init() with pci_register_driver()
Replace obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Richard Knutsson <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
46654728b5
commit
93b47684f6
5 changed files with 5 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue