[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:
committed by
James Bottomley
parent
b8d0821012
commit
4041b9cd87
@@ -2838,7 +2838,7 @@ static int __init megasas_init(void)
|
|||||||
/*
|
/*
|
||||||
* Register ourselves as PCI hotplug module
|
* Register ourselves as PCI hotplug module
|
||||||
*/
|
*/
|
||||||
rval = pci_module_init(&megasas_pci_driver);
|
rval = pci_register_driver(&megasas_pci_driver);
|
||||||
|
|
||||||
if (rval) {
|
if (rval) {
|
||||||
printk(KERN_DEBUG "megasas: PCI hotplug regisration failed \n");
|
printk(KERN_DEBUG "megasas: PCI hotplug regisration failed \n");
|
||||||
|
Reference in New Issue
Block a user