dmaengine: add COMPILE_TEST for the drivers
authorHuang Shijie <sjhuang@iluvatar.ai>
Mon, 6 Aug 2018 08:52:31 +0000 (16:52 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 29 Aug 2018 16:14:10 +0000 (21:44 +0530)
We can do the compiling test with COMPILE_TEST.
This patch adds the COMPILE_TEST for the drivers.

Signed-off-by: Huang Shijie <sjhuang@iluvatar.ai>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/Kconfig

index dacf3f4..73a75de 100644 (file)
@@ -447,7 +447,7 @@ config PL330_DMA
 
 config PXA_DMA
        bool "PXA DMA support"
-       depends on (ARCH_MMP || ARCH_PXA)
+       depends on (ARCH_MMP || ARCH_PXA || COMPILE_TEST)
        select DMA_ENGINE
        select DMA_VIRTUAL_CHANNELS
        help
@@ -465,7 +465,7 @@ config SIRF_DMA
 
 config STE_DMA40
        bool "ST-Ericsson DMA40 support"
-       depends on ARCH_U8500
+       depends on ARCH_U8500 || COMPILE_TEST
        select DMA_ENGINE
        help
          Support for ST-Ericsson DMA40 controller