]> err.no Git - linux-2.6/commitdiff
[SCSI] megaraid_sas: pci_module_init to pci_register_driver conversion
authorMichal Piotrowski <michal.k.k.piotrowski@gmail.com>
Thu, 17 Aug 2006 13:28:22 +0000 (13:28 +0000)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 19 Aug 2006 20:44:54 +0000 (13:44 -0700)
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>
drivers/scsi/megaraid/megaraid_sas.c

index b36307d2e283abb182ff3cecc3db3703b30504be..4cab5b534b259acab51f1f1697e4f72c95f7dbc3 100644 (file)
@@ -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");