diff options
author | Alexander Gordeev <agordeev@redhat.com> | 2014-09-29 20:25:59 +0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-10-06 19:43:35 +0400 |
commit | d1028e2f95b75acab4f1046acae1b1ca7d7b2577 (patch) | |
tree | 6f04701879c51f7fb6fbee6ac588790d2e077efe /drivers/ata/acard-ahci.c | |
parent | 1c62854f5f7321b3ee8c08d34d7c1e615608566d (diff) | |
download | linux-d1028e2f95b75acab4f1046acae1b1ca7d7b2577.tar.xz |
AHCI: Move host activation code into ahci_host_activate()
Currently host activation done by calling either function
ahci_host_activate() or ata_host_activate(). Consolidate
the code by only calling ahci_host_activate() for all AHCI
devices.
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: linux-ide@vger.kernel.org
Diffstat (limited to 'drivers/ata/acard-ahci.c')
-rw-r--r-- | drivers/ata/acard-ahci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ata/acard-ahci.c b/drivers/ata/acard-ahci.c index 25d0ac32e721..c962886d7e71 100644 --- a/drivers/ata/acard-ahci.c +++ b/drivers/ata/acard-ahci.c @@ -498,8 +498,7 @@ static int acard_ahci_init_one(struct pci_dev *pdev, const struct pci_device_id acard_ahci_pci_print_info(host); pci_set_master(pdev); - return ata_host_activate(host, pdev->irq, ahci_interrupt, IRQF_SHARED, - &acard_ahci_sht); + return ahci_host_activate(host, pdev->irq, &acard_ahci_sht); } module_pci_driver(acard_ahci_pci_driver); |