mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 23:21:31 +00:00
[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>
This commit is contained in:
parent
b8d0821012
commit
4041b9cd87
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user