diff mbox

[21/30] dmaengine: mmp_tdma: enable COMPILE_TEST

Message ID 1473960849-23024-22-git-send-email-vinod.koul@intel.com (mailing list archive)
State Superseded
Headers show

Commit Message

Vinod Koul Sept. 15, 2016, 5:34 p.m. UTC
To get more coverage, enable COMPILE_TEST for this driver.

Cc: Zhangfei Gao <zhangfei.gao@linaro.org>
Cc: Qiao Zhou <zhouqiao@marvell.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
 drivers/dma/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index c17b60cfa647..a74837abafe4 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -304,8 +304,8 @@  config MMP_PDMA
 	  Support the MMP PDMA engine for PXA and MMP platform.
 
 config MMP_TDMA
-	bool "MMP Two-Channel DMA support"
-	depends on ARCH_MMP
+	bool "MMP Two-Channel DMA support" if COMPILE_TEST && !ARCH_MMP
+	default ARCH_MMP
 	select DMA_ENGINE
 	select MMP_SRAM
 	help