diff mbox

dmaengine: xgene: Set hardware dependency

Message ID 20150426125202.6efa3d26@endymion.delvare (mailing list archive)
State Accepted
Headers show

Commit Message

Jean Delvare April 26, 2015, 10:52 a.m. UTC
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>
---
 drivers/dma/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Comments

Vinod Koul April 27, 2015, 3:07 a.m. UTC | #1
On Sun, Apr 26, 2015 at 12:52:02PM +0200, Jean Delvare wrote:
> The xgene-dma driver is only useful on X-Gene SoC.
> 
Applied, thanks
diff mbox

Patch

--- linux-4.1-rc0.orig/drivers/dma/Kconfig	2015-04-26 12:37:26.220977724 +0200
+++ linux-4.1-rc0/drivers/dma/Kconfig	2015-04-26 12:44:40.620920769 +0200
@@ -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