[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:
Richard Knutsson 2007-02-14 01:40:39 +01:00 • committed by James Bottomley
commit 4520b0089b

View file

@ -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);