Skip to contentSkip to conversation

dmaengine: Make X-Gene driver depend on ARCH_XGENE

PATCH In review Josh Boyer 2 participants 3 messages Apr 27, 2015 – May 4, 2015 dmaengine

lore
Share & tools
lore

Josh Boyer

author
#0 lore raw

PATCH 1/1 dmaengine: Make X-Gene driver depend on ARCH_XGENE

The driver is specific to the APM X-Gene SoC. Make it depend on that arch so that users are not unnecessarily prompted about it.

---
 drivers/dma/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/dma/Kconfig +1 -0
index fd7ac13f2574..297ce56550dd 100644
@@ -437,6 +437,7 @@ config IMG_MDC_DMA
 
 config XGENE_DMA
 	tristate "APM X-Gene DMA support"
+	depends on ARCH_XGENE
 	select DMA_ENGINE
 	select DMA_ENGINE_RAID
 	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
Signature · 1 line
2.1.0
#1 lore raw
Quoted 2 lines · Josh Boyer

The driver is specific to the APM X-Gene SoC. Make it depend on that arch so that users are not unnecessarily prompted about it.

Hi Josh,

I have already applied a patch from jean for this

commit 801661467fd50832191c81665d061ffabcc1c5de

Author: Jean Delvare <[email protected]>
Date:   Sun Apr 26 12:52:02 2015 +0200

dmaengine: xgene: Set hardware dependency

The xgene-dma driver is only useful on X-Gene SoC.

Cc Rameshwar Prasad Sahu <[email protected]>
Cc Loc Ho <[email protected]>
Cc Vinod Koul <[email protected]>
Signature · 1 line
~Vinod
author
#2 lore raw
Quoted 13 lines · Vinod Koul
Quoted 2 lines · Josh Boyer

The driver is specific to the APM X-Gene SoC. Make it depend on that arch so that users are not unnecessarily prompted about it.

Hi Josh,

I have already applied a patch from jean for this

commit 801661467fd50832191c81665d061ffabcc1c5de

Author: Jean Delvare <[email protected]>
Date:   Sun Apr 26 12:52:02 2015 +0200

dmaengine: xgene: Set hardware dependency

Quoted 7 lines

The xgene-dma driver is only useful on X-Gene SoC.

Cc Rameshwar Prasad Sahu <[email protected]>
Cc Loc Ho <[email protected]>
Cc Vinod Koul <[email protected]>

Great, thanks.

josh