diff mbox

[20/30] dmaengine: mmp_pdma: enable COMPILE_TEST

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

Commit Message

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

Cc: Zhangfei Gao <zhangfei.gao@linaro.org>
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 9d03da0d4c5f..c17b60cfa647 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -297,8 +297,8 @@  config LPC18XX_DMAMUX
 	  with PL080 and multiplexed DMA request lines.
 
 config MMP_PDMA
-	bool "MMP PDMA support"
-	depends on (ARCH_MMP || ARCH_PXA)
+	bool "MMP PDMA support" if COMPILE_TEST && !(ARCH_MMP || ARCH_PXA)
+	default (ARCH_MMP || ARCH_PXA)
 	select DMA_ENGINE
 	help
 	  Support the MMP PDMA engine for PXA and MMP platform.