forked from Minki/linux
[SCSI] megaraid: pci_module_init to pci_register_driver
Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Acked-by: "Patro, Sumant" <Sumant.Patro@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
930e99bd13
commit
4520b0089b
@ -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 New Issue
Block a user