aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSia Jee Heng <[email protected]>2021-01-25 09:32:50 +0800
committerVinod Koul <[email protected]>2021-02-01 15:08:15 +0530
commitcd0f00c39ff48006cb0523b09b22842d21f70e72 (patch)
treef205d69f20c421d7aabf2bb23ba4105a8766e59f
parent8fb1dae09091b937e4966be4d024edeb80576ca6 (diff)
dmaengine: drivers: Kconfig: add HAS_IOMEM dependency to DW_AXI_DMAC
If HAS_IOMEM is not defined and DW_AXI_DMAC is enabled under COMPILE_TEST, the build fails with the following error: dw-axi-dmac-platform.c:(.text+0xc4): undefined reference to `devm_ioremap_resource' Link: https://www.spinics.net/lists/dmaengine/msg25188.html Reported-by: kernel test robot <[email protected]> Signed-off-by: Sia Jee Heng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
-rw-r--r--drivers/dma/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index aa05b523bcb0..0c2827fd8c19 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -172,6 +172,7 @@ config DMA_SUN6I
config DW_AXI_DMAC
tristate "Synopsys DesignWare AXI DMA support"
depends on OF || COMPILE_TEST
+ depends on HAS_IOMEM
select DMA_ENGINE
select DMA_VIRTUAL_CHANNELS
help