aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/ahci.c')
-rw-r--r--drivers/ata/ahci.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 0b2160457046..d0ac38bd2d51 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -1427,11 +1427,7 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
1427 1427
1428 pci_set_master(pdev); 1428 pci_set_master(pdev);
1429 1429
1430 if (hpriv->flags & AHCI_HFLAG_MULTI_MSI) 1430 return ahci_host_activate(host, pdev->irq, &ahci_sht);
1431 return ahci_host_activate(host, pdev->irq, &ahci_sht);
1432
1433 return ata_host_activate(host, pdev->irq, ahci_interrupt, IRQF_SHARED,
1434 &ahci_sht);
1435} 1431}
1436 1432
1437module_pci_driver(ahci_pci_driver); 1433module_pci_driver(ahci_pci_driver);