diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2020-07-13 23:35:39 -0700 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-07-15 11:33:39 +0530 |
commit | d6a7bb869dd8a516901591136a9a895fd829d6c6 (patch) | |
tree | f477558f125267f11e921750052cb084259e3c37 /drivers/dma/Kconfig | |
parent | 5fb9e3a3423313fe6169d5069e471bfdab6e0b79 (diff) | |
download | linux-d6a7bb869dd8a516901591136a9a895fd829d6c6.tar.bz2 |
dmaengine: idxd: fix PCI_MSI build errors
Fix build errors when CONFIG_PCI_MSI is not enabled by making the
driver depend on PCI_MSI:
ld: drivers/dma/idxd/device.o: in function `idxd_mask_msix_vector':
device.c:(.text+0x26f): undefined reference to `pci_msi_mask_irq'
ld: drivers/dma/idxd/device.o: in function `idxd_unmask_msix_vector':
device.c:(.text+0x2af): undefined reference to `pci_msi_unmask_irq'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: dmaengine@vger.kernel.org
Cc: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/9dee3f46-70d9-ea75-10cb-5527ab297d1d@infradead.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/Kconfig')
-rw-r--r-- | drivers/dma/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index b70e90765ad3..bfe0731f3764 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -285,6 +285,7 @@ config INTEL_IDMA64 config INTEL_IDXD tristate "Intel Data Accelerators support" depends on PCI && X86_64 + depends on PCI_MSI depends on SBITMAP select DMA_ENGINE help |