mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
hp100: convert pci_module_init() to pci_register_driver()
Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson <[email protected]> Cc: Jeff Garzik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
parent
27d2ab54bd
commit
7e3e8b05a9
1 changed files with 1 additions and 1 deletions
|
|
@ -3034,7 +3034,7 @@ static int __init hp100_module_init(void)
|
|||
goto out2;
|
||||
#endif
|
||||
#ifdef CONFIG_PCI
|
||||
err = pci_module_init(&hp100_pci_driver);
|
||||
err = pci_register_driver(&hp100_pci_driver);
|
||||
if (err && err != -ENODEV)
|
||||
goto out3;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue