Skip to contentSkip to conversation

spi: cadence: Add dependency on ARM

PATCH Applied Harini Katakam 2 participants 2 messages Apr 15, 2014 SPI

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 spi: cadence: Add dependency on ARM

Add dependency on ARM in Kconfig.
This is to fix the build error related to _relaxed IO. Remove dependency on SPI_MASTER because this is already defined under if SPI_MASTER in Kconfig.

---

v2 changes:
Add dependency on ARM instead of ZYNQ.
Remove SPI_MASTER dependency as it is already under if SPI_MASTER.

---
 drivers/spi/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/Kconfig +1 -1
index b0f091b..0616f97 100644
@@ -150,7 +150,7 @@ config SPI_BUTTERFLY
 
 config SPI_CADENCE
 	tristate "Cadence SPI controller"
-	depends on SPI_MASTER
+	depends on ARM
 	help
 	  This selects the Cadence SPI controller master driver
 	  used by Xilinx Zynq.
Signature · 1 line
1.7.9.5
maintainer Applied
#1 lore raw
Quoted 4 lines · Harini Katakam

Add dependency on ARM in Kconfig.
This is to fix the build error related to _relaxed IO. Remove dependency on SPI_MASTER because this is already defined under if SPI_MASTER in Kconfig.

Applied, thanks.