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 11:43:34 -0400
commita6849b9fdbffd2492a848df942b39d23bd81ef27 (patch)
tree097c784127a46ccf49d5ede7b9d6279c513906a8 /drivers/ata/ahci.h
parent36888e955c7c7ba8c66756fed60ac6e453fcbb5f (diff)
downloadop-kernel-dev-a6849b9fdbffd2492a848df942b39d23bd81ef27.zip
op-kernel-dev-a6849b9fdbffd2492a848df942b39d23bd81ef27.tar.gz
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 a074c73..31b4c44 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,
OpenPOWER on IntegriCloud