diff mbox

[03/30] dmaengine: jz4780: enable COMPILE_TEST

Message ID 1473960849-23024-4-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: Lars-Peter Clausen <lars@metafoo.de>
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 0e612edb3583..5c883123b3e9 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -119,8 +119,8 @@  config DMA_JZ4740
 	select DMA_VIRTUAL_CHANNELS
 
 config DMA_JZ4780
-	tristate "JZ4780 DMA support"
-	depends on MACH_JZ4780
+	tristate "JZ4780 DMA support" if COMPILE_TEST && !MACH_JZ4780
+	default MACH_JZ4780
 	select DMA_ENGINE
 	select DMA_VIRTUAL_CHANNELS
 	help