浏览代码

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.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Harini Katakam 11 年之前
父节点
当前提交
25dbe04a24
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/spi/Kconfig

+ 1 - 1
drivers/spi/Kconfig

@@ -150,7 +150,7 @@ config SPI_BUTTERFLY
 
 
 config SPI_CADENCE
 config SPI_CADENCE
 	tristate "Cadence SPI controller"
 	tristate "Cadence SPI controller"
-	depends on SPI_MASTER
+	depends on ARM
 	help
 	help
 	  This selects the Cadence SPI controller master driver
 	  This selects the Cadence SPI controller master driver
 	  used by Xilinx Zynq.
 	  used by Xilinx Zynq.