Commit cd0f00c3 authored by Sia Jee Heng's avatar Sia Jee Heng Committed by Vinod Koul

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.htmlReported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarSia Jee Heng <jee.heng.sia@intel.com>
Link: https://lore.kernel.org/r/20210125013255.25799-13-jee.heng.sia@intel.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 8fb1dae0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment