aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2015-04-26 12:52:02 +0200
committerVinod Koul <[email protected]>2015-04-27 08:36:02 +0530
commit801661467fd50832191c81665d061ffabcc1c5de (patch)
tree039cc5f53146918e2c072c3e83ea18601a4231d2
parent8ad31bf45db1c4a8f400cbc10400ce9fc0bed227 (diff)
dmaengine: xgene: Set hardware dependency
The xgene-dma driver is only useful on X-Gene SoC. Signed-off-by: Jean Delvare <[email protected]> Cc: Rameshwar Prasad Sahu <[email protected]> Cc: Loc Ho <[email protected]> Cc: Vinod Koul <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
-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