dmaengine: shdma: Enable driver compilation with COMPILE_TEST
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 12 May 2014 23:02:16 +0000 (01:02 +0200)
committerVinod Koul <vinod.koul@intel.com>
Sun, 1 Jun 2014 17:26:31 +0000 (22:56 +0530)
This helps increasing build testing coverage.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/Kconfig

index b4c813831006ed1ad665c35c7d7e48a4d88ff589..0f719816c91bf9277cdb19a3b6ac67449aa579e2 100644 (file)
@@ -4,7 +4,7 @@
 
 config SH_DMAE_BASE
        bool "Renesas SuperH DMA Engine support"
-       depends on (SUPERH && SH_DMA) || (ARM && ARCH_SHMOBILE)
+       depends on (SUPERH && SH_DMA) || ARCH_SHMOBILE || COMPILE_TEST
        depends on !SH_DMA_API
        default y
        select DMA_ENGINE