From: Robert Richter Date: Wed, 17 Jun 2015 13:30:02 +0000 (+0200) Subject: ahci, msix: Fix build error for !PCI_MSI X-Git-Tag: omap-for-v4.2/fixes-rc1^2~115^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34c56932ce5278b8bbae13936f9df05cd59e3193;p=pandora-kernel.git 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 Signed-off-by: Robert Richter Signed-off-by: Tejun Heo --- Reading git-diff-tree failed