summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/Kconfig
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2014-04-09 03:28:40 +0200
committerBrian Norris <computersforpeace@gmail.com>2014-04-14 20:23:01 +0200
commit8607bd42728c648f03cb04f8906411ba3da984e5 (patch)
treedef6e90010890b1fc26edafac7a0144ceb9ee287 /drivers/mtd/devices/Kconfig
parentmtd: spi-nor: shorten Kconfig naming (diff)
downloadlinux-8607bd42728c648f03cb04f8906411ba3da984e5.tar.xz
linux-8607bd42728c648f03cb04f8906411ba3da984e5.zip
mtd: st_spi_fsm: fixup Kconfig dependency
I hear that this driver should depend on ARCH_STI, and that "SH" is not actually a real symbol. At the same time, let's allow compile-testing on other ARCH'es. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Acked-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/mtd/devices/Kconfig')
-rw-r--r--drivers/mtd/devices/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig
index f9e32b53dfc6..9aae1042c14f 100644
--- a/drivers/mtd/devices/Kconfig
+++ b/drivers/mtd/devices/Kconfig
@@ -212,7 +212,7 @@ config MTD_DOCG3
config MTD_ST_SPI_FSM
tristate "ST Microelectronics SPI FSM Serial Flash Controller"
- depends on ARM || SH
+ depends on ARCH_STI || COMPILE_TEST
help
This provides an MTD device driver for the ST Microelectronics
SPI Fast Sequence Mode (FSM) Serial Flash Controller and support