]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dmaengine: tegra-adma: enable COMPILE_TEST
authorVinod Koul <vinod.koul@intel.com>
Fri, 2 Sep 2016 10:31:52 +0000 (16:01 +0530)
committerVinod Koul <vinod.koul@intel.com>
Tue, 27 Sep 2016 05:10:58 +0000 (10:40 +0530)
To get more coverage, enable COMPILE_TEST for this driver.

Suggested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/Kconfig

index b27a263df2e9bd4e110ace05fe6ed295aa2b0789..6ed182529a9d6854a54cf1b2c53508e8335a01f1 100644 (file)
@@ -480,10 +480,9 @@ config TEGRA20_APB_DMA
 
 config TEGRA210_ADMA
        bool "NVIDIA Tegra210 ADMA support"
-       depends on ARCH_TEGRA_210_SOC
+       depends on (ARCH_TEGRA_210_SOC || COMPILE_TEST) && PM_CLK
        select DMA_ENGINE
        select DMA_VIRTUAL_CHANNELS
-       select PM_CLK
        help
          Support for the NVIDIA Tegra210 ADMA controller driver. The
          DMA controller has multiple DMA channels and is used to service