[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:
Michal Piotrowski 2006-08-17 13:28:22 +00:00 committed by James Bottomley
parent b8d0821012
commit 4041b9cd87
1 changed files with 1 additions and 1 deletions

View 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");