Skip to content

Commit 4041b9c

Browse files
Michal PiotrowskiJames Bottomley
authored andcommitted
[SCSI] megaraid_sas: pci_module_init to pci_register_driver conversion
Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com> Acked-by: "Patro, Sumant" <Sumant.Patro@lsil.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
1 parent b8d0821 commit 4041b9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/megaraid/megaraid_sas.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2838,7 +2838,7 @@ static int __init megasas_init(void)
28382838
/*
28392839
* Register ourselves as PCI hotplug module
28402840
*/
2841-
rval = pci_module_init(&megasas_pci_driver);
2841+
rval = pci_register_driver(&megasas_pci_driver);
28422842

28432843
if (rval) {
28442844
printk(KERN_DEBUG "megasas: PCI hotplug regisration failed \n");

0 commit comments

Comments
 (0)