diff options
author | Robert Richter <robert.richter@caviumnetworks.com> | 2015-06-17 15:30:02 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-06-17 20:16:42 +0200 |
commit | 34c56932ce5278b8bbae13936f9df05cd59e3193 (patch) | |
tree | 5dbd6135c7eeec01a175d28a0becab4ac6bd848d /drivers/ata/ahci_mvebu.c | |
parent | ahci: Add support for Cavium's ThunderX host controller (diff) | |
download | linux-34c56932ce5278b8bbae13936f9df05cd59e3193.tar.xz linux-34c56932ce5278b8bbae13936f9df05cd59e3193.zip |
ahci, msix: Fix build error for !PCI_MSI
It turned out the irq vector of the msix can be obtained from struct
msix_entry. This makes the lookup function for msi_desc obsolete.
This fixes a build error if PCI_MSI is unset:
drivers/ata/ahci.c: In function ‘msix_get_desc’:
drivers/ata/ahci.c:1210:2: error: ‘struct pci_dev’ has no member named ‘msi_list’
Catched by Fengguang's build bot.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/ahci_mvebu.c')
0 files changed, 0 insertions, 0 deletions