dmaengine: ste_dma40: allow COMPILE_TEST
PATCH v2 1/1 dmaengine: ste_dma40: allow COMPILE_TEST
The driver only uses portable kernel APIs and AMBA bit-field macros from <linux/amba/bus.h>. Allow building on other architectures via COMPILE_TEST for wider compile coverage.
Also add missing HAS_IOMEM as COMPILE_TEST also enables configs that don't necessarily have it.
Signed-off-by Rosen Penev <[email protected]>
Reviewed-by Frank Li <[email protected]>
---
v2: add HAS_IOMEM
drivers/dma/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/dma/Kconfig +3 -2
@@ -448,7 +448,7 @@ config MOXART_DMA select DMA_VIRTUAL_CHANNELS help Enable support for the MOXA ART SoC DMA controller. - + Say Y here if you enabled MMP ADMA, otherwise say N. config MPC512X_DMA
@@ -559,7 +559,8 @@ config SOPHGO_CV1800B_DMAMUX config STE_DMA40 bool "ST-Ericsson DMA40 support" - depends on ARCH_U8500 + depends on ARCH_U8500 || COMPILE_TEST + depends on HAS_IOMEM select DMA_ENGINE select SRAM help
Signature · 1 line
2.55.0