mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -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
|
|
@ -841,7 +841,7 @@ static int __devinit vt8231_pci_probe(struct pci_dev *dev,
|
|||
|
||||
static int __init sm_vt8231_init(void)
|
||||
{
|
||||
return pci_module_init(&vt8231_pci_driver);
|
||||
return pci_register_driver(&vt8231_pci_driver);
|
||||
}
|
||||
|
||||
static void __exit sm_vt8231_exit(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue