mtd: st_spi_fsm: fixup Kconfig dependency
authorBrian Norris <computersforpeace@gmail.com>
Wed, 9 Apr 2014 01:28:40 +0000 (18:28 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 14 Apr 2014 18:23:01 +0000 (11:23 -0700)
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>
drivers/mtd/devices/Kconfig

index f9e32b53dfc6c803f874a1ed6936753a14d66762..9aae1042c14f32c51cae3b7faeae0f1123a78caa 100644 (file)
@@ -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