summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2015-04-26 12:52:02 +0200
committerVinod Koul <vinod.koul@intel.com>2015-04-27 08:36:02 +0530
commit801661467fd50832191c81665d061ffabcc1c5de (patch)
tree039cc5f53146918e2c072c3e83ea18601a4231d2
parent8ad31bf45db1c4a8f400cbc10400ce9fc0bed227 (diff)
downloadlinux-801661467fd50832191c81665d061ffabcc1c5de.tar.gz
linux-801661467fd50832191c81665d061ffabcc1c5de.tar.bz2
linux-801661467fd50832191c81665d061ffabcc1c5de.zip
dmaengine: xgene: Set hardware dependency
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>
-rw-r--r--drivers/dma/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index fd7ac13f2574..bda2cb06dc7a 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -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