diff mbox

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

Message ID 1404561167-24824-1-git-send-email-broonie@kernel.org (mailing list archive)
State Accepted
Commit c15369087ae5c7db7f3e3604822eac6ab87429bd
Headers show

Commit Message

Mark Brown July 5, 2014, 11:52 a.m. UTC
From: Mark Brown <broonie@linaro.org>

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>
---
 drivers/spi/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index f41431331c3e..79ace88030c4 100644
--- a/drivers/spi/Kconfig
+++ b/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.