diff mbox

[22/30] dmaengine: stm32-dma: enable COMPILE_TEST

Message ID 1473960849-23024-23-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: M'boumba Cedric Madianga <cedric.madianga@gmail.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 a74837abafe4..82d6e374d82f 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -439,8 +439,8 @@  config STE_DMA40
 	  Support for ST-Ericsson DMA40 controller
 
 config STM32_DMA
-	bool "STMicroelectronics STM32 DMA support"
-	depends on ARCH_STM32
+	bool "STMicroelectronics STM32 DMA support" if COMPILE_TEST && !ARCH_STM32
+	default ARCH_STM32
 	select DMA_ENGINE
 	select DMA_OF
 	select DMA_VIRTUAL_CHANNELS