提交 4520b008 编写于 作者: R Richard Knutsson 提交者: James Bottomley

[SCSI] megaraid: pci_module_init to pci_register_driver

Convert pci_module_init() to pci_register_driver().
Signed-off-by: NRichard Knutsson <ricknu-0@student.ltu.se>
Acked-by: N"Patro, Sumant" <Sumant.Patro@lsi.com>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 930e99bd
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册