dmaengine: xgene: Set hardware dependency
authorJean Delvare <jdelvare@suse.de>
Sun, 26 Apr 2015 10:52:02 +0000 (12:52 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 27 Apr 2015 03:06:02 +0000 (08:36 +0530)
The xgene-dma driver is only useful on X-Gene SoC.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Rameshwar Prasad Sahu <rsahu@apm.com>
Cc: Loc Ho <lho@apm.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/Kconfig

index fd7ac13..bda2cb0 100644 (file)
@@ -437,6 +437,7 @@ config IMG_MDC_DMA
 
 config XGENE_DMA
        tristate "APM X-Gene DMA support"
+       depends on ARCH_XGENE || COMPILE_TEST
        select DMA_ENGINE
        select DMA_ENGINE_RAID
        select ASYNC_TX_ENABLE_CHANNEL_SWITCH