summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorJean Delvare2015-04-26 12:52:02 +0200
committerVinod Koul2015-04-27 05:06:02 +0200
commit801661467fd50832191c81665d061ffabcc1c5de (patch)
tree039cc5f53146918e2c072c3e83ea18601a4231d2 /drivers/dma
parentdmaengine: usb-dmac: Protect PM-only functions to kill warning (diff)
downloadkernel-qcow2-linux-801661467fd50832191c81665d061ffabcc1c5de.tar.gz
kernel-qcow2-linux-801661467fd50832191c81665d061ffabcc1c5de.tar.xz
kernel-qcow2-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>
Diffstat (limited to 'drivers/dma')
-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