summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.h
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@redhat.com>2014-09-29 18:25:57 +0200
committerTejun Heo <tj@kernel.org>2014-10-06 17:43:34 +0200
commita6849b9fdbffd2492a848df942b39d23bd81ef27 (patch)
tree097c784127a46ccf49d5ede7b9d6279c513906a8 /drivers/ata/ahci.h
parentata: pata_imx: Use the SIMPLE_DEV_PM_OPS() macro (diff)
downloadlinux-a6849b9fdbffd2492a848df942b39d23bd81ef27.tar.xz
linux-a6849b9fdbffd2492a848df942b39d23bd81ef27.zip
AHCI: Pass SCSI host template as arg to ahci_host_activate()
This update is a prerequisite for consolidation of AHCI host activation code within ahci_host_activate() function. 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/ahci.h')
-rw-r--r--drivers/ata/ahci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h
index a074c7301504..31b4c44e3f71 100644
--- a/drivers/ata/ahci.h
+++ b/drivers/ata/ahci.h
@@ -392,7 +392,8 @@ irqreturn_t ahci_interrupt(int irq, void *dev_instance);
irqreturn_t ahci_hw_interrupt(int irq, void *dev_instance);
irqreturn_t ahci_thread_fn(int irq, void *dev_instance);
void ahci_print_info(struct ata_host *host, const char *scc_s);
-int ahci_host_activate(struct ata_host *host, int irq);
+int ahci_host_activate(struct ata_host *host, int irq,
+ struct scsi_host_template *sht);
void ahci_error_handler(struct ata_port *ap);
static inline void __iomem *__ahci_port_base(struct ata_host *host,