Skip to content

Commit

Permalink
[SCSI] megaraid_sas: pci_module_init to pci_register_driver conversion
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michal Piotrowski authored and James Bottomley committed Aug 19, 2006
1 parent b8d0821 commit 4041b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/megaraid/megaraid_sas.c
Original file line number Diff line number Diff line change
Expand Up @@ -2838,7 +2838,7 @@ static int __init megasas_init(void)
/*
* Register ourselves as PCI hotplug module
*/
rval = pci_module_init(&megasas_pci_driver);
rval = pci_register_driver(&megasas_pci_driver);

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

0 comments on commit 4041b9c

Please sign in to comment.