Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4520b008 authored by Richard Knutsson's avatar Richard Knutsson Committed by James Bottomley
Browse files

[SCSI] megaraid: pci_module_init to pci_register_driver



Convert pci_module_init() to pci_register_driver().

Signed-off-by: default avatarRichard Knutsson <ricknu-0@student.ltu.se>
Acked-by: default avatar"Patro, Sumant" <Sumant.Patro@lsi.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 930e99bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);