aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_highbank.c
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@redhat.com>2014-09-29 12:25:59 -0400
committerTejun Heo <tj@kernel.org>2014-10-06 11:43:35 -0400
commitd1028e2f95b75acab4f1046acae1b1ca7d7b2577 (patch)
tree6f04701879c51f7fb6fbee6ac588790d2e077efe /drivers/ata/sata_highbank.c
parent1c62854f5f7321b3ee8c08d34d7c1e615608566d (diff)
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/sata_highbank.c')
-rw-r--r--drivers/ata/sata_highbank.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ata/sata_highbank.c b/drivers/ata/sata_highbank.c
index da3bc2709c63..ce2b99a1ed70 100644
--- a/drivers/ata/sata_highbank.c
+++ b/drivers/ata/sata_highbank.c
@@ -568,8 +568,7 @@ static int ahci_highbank_probe(struct platform_device *pdev)
568 ahci_init_controller(host); 568 ahci_init_controller(host);
569 ahci_print_info(host, "platform"); 569 ahci_print_info(host, "platform");
570 570
571 rc = ata_host_activate(host, irq, ahci_interrupt, 0, 571 rc = ahci_host_activate(host, irq, &ahci_highbank_platform_sht);
572 &ahci_highbank_platform_sht);
573 if (rc) 572 if (rc)
574 goto err0; 573 goto err0;
575 574