Browse Source

spi/rockchip: Add dependencies on relaxed I/O accessors

Without the dependencies for the accessors the driver can be enabled on
architectures where it will fail to build.

Signed-off-by: Mark Brown <broonie@linaro.org>
Mark Brown 11 years ago
parent
commit
c15369087a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/spi/Kconfig

+ 1 - 0
drivers/spi/Kconfig

@@ -384,6 +384,7 @@ config SPI_PXA2XX_PCI
 
 config SPI_ROCKCHIP
 	tristate "Rockchip SPI controller driver"
+	depends on ARM || ARM64 || AVR32 || HEXAGON || MIPS || SUPERH
 	help
 	  This selects a driver for Rockchip SPI controller.