diff mbox

[v2] spi: cadence: Add dependency on ARM

Message ID 1397560329-3603-1-git-send-email-harinik@xilinx.com (mailing list archive)
State Accepted
Commit 25dbe04a24516cdfd6bd215c1caaf28916b91a82
Headers show

Commit Message

Harini Katakam April 15, 2014, 11:12 a.m. UTC
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.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
---

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(-)

Comments

Mark Brown April 15, 2014, 11:19 a.m. UTC | #1
On Tue, Apr 15, 2014 at 04:42:09PM +0530, Harini Katakam wrote:
> 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.
diff mbox

Patch

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index b0f091b..0616f97 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -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.