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)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:23:22 +0000 (09:23 +0900)
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>
(cherry picked from commit ebc6d2d9c8cd48c351da84dd467c0edddc149ded)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/dma/sh/Kconfig

index b4c8138..0f71981 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