diff options
author | Alexander Gordeev <agordeev@redhat.com> | 2014-09-25 15:13:21 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-09-28 11:43:56 -0400 |
commit | c3ebd6a9b614ef1fbb5a44a3a33cd639ff4694bf (patch) | |
tree | df33c8be5ae2ac6d0bbd21400a643df9b8de9b5f /drivers/ata/ahci.h | |
parent | 6d8ca28fa688a9354bc9fbc935bdaeb3651b6677 (diff) |
AHCI: Cleanup checking of multiple MSIs/SLM modes
Sharing Last Message (SLM) mode is currently checked in two
functions: ahci_host_activate() and ahci_init_interrupts().
This update consolidates SLM mode check with activation of
multiple MSIs mode.
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index 90156ff1e9cb..a074c7301504 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h @@ -392,7 +392,7 @@ 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, unsigned int n_msis); +int ahci_host_activate(struct ata_host *host, int irq); void ahci_error_handler(struct ata_port *ap); static inline void __iomem *__ahci_port_base(struct ata_host *host, |