summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichal Piotrowski <michal.k.k.piotrowski@gmail.com>2006-08-17 13:28:22 +0000
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-08-19 13:44:54 -0700
commit4041b9cd87d97a7c73a5bf5a9305dffee2599386 (patch)
tree8f385a2f120dafd6fcad27e2896c960993939121 /drivers
parentb8d08210126a7b769b857720a59721a453a57a1e (diff)
downloadblackbird-op-linux-4041b9cd87d97a7c73a5bf5a9305dffee2599386.tar.gz
blackbird-op-linux-4041b9cd87d97a7c73a5bf5a9305dffee2599386.zip
[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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.c b/drivers/scsi/megaraid/megaraid_sas.c
index b36307d2e283..4cab5b534b25 100644
--- a/drivers/scsi/megaraid/megaraid_sas.c
+++ b/drivers/scsi/megaraid/megaraid_sas.c
@@ -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");
OpenPOWER on IntegriCloud