mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[SCSI] megaraid: pci_module_init to pci_register_driver
Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson <[email protected]> Acked-by: "Patro, Sumant" <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
930e99bd13
commit
4520b0089b
1 changed files with 1 additions and 1 deletions
|
|
@ -5072,7 +5072,7 @@ static int __init megaraid_init(void)
|
|||
"megaraid: failed to create megaraid root\n");
|
||||
}
|
||||
#endif
|
||||
error = pci_module_init(&megaraid_pci_driver);
|
||||
error = pci_register_driver(&megaraid_pci_driver);
|
||||
if (error) {
|
||||
#ifdef CONFIG_PROC_FS
|
||||
remove_proc_entry("megaraid", &proc_root);
|
||||
|
|
|
|||
Loading…
Reference in a new issue