diff mbox

[30/30] dmaengine: zxdma: enable COMPILE_TEST

Message ID 1473960849-23024-31-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: Jun Nie <jun.nie@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 5f4a65d6380b..3f2aafde6959 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -562,8 +562,8 @@  config XILINX_ZYNQMP_DMA
 	  Enable support for Xilinx ZynqMP DMA controller.
 
 config ZX_DMA
-	tristate "ZTE ZX296702 DMA support"
-	depends on ARCH_ZX
+	tristate "ZTE ZX296702 DMA support" if COMPILE_TEST && !ARCH_ZX
+	default ARCH_ZX
 	select DMA_ENGINE
 	select DMA_VIRTUAL_CHANNELS
 	help