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 <[email protected]>
---
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(-)
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.
--
1.7.9.5
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.