diff options
author | Brian Norris <computersforpeace@gmail.com> | 2014-04-16 04:40:17 -0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-04-17 00:59:29 -0400 |
commit | dc002f99f3aa7c05981ecbbbc20efe5e8befe98a (patch) | |
tree | 7f0ba294579764c265e049b1ece88ed4dbdf6a98 /drivers/mtd/devices | |
parent | 38e2eee9abf202b5edad73eb0288e0a4dfaacfca (diff) |
mtd: st_spi_fsm: only build for ARM
COMPILE_TEST allows us to build this driver on other arch'es. But not
all arch'es have the right I/O accessors -- particularly, x86 is missing
readsl() and writesl().
So just restrict this driver to ARCH_STI. It's still buildable for a
multiplatform ARM kernel, so it can get decent compile coverage.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mtd/devices')
-rw-r--r-- | drivers/mtd/devices/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig index 9aae1042c14f..c49d0b127fef 100644 --- a/drivers/mtd/devices/Kconfig +++ b/drivers/mtd/devices/Kconfig | |||
@@ -212,7 +212,7 @@ config MTD_DOCG3 | |||
212 | 212 | ||
213 | config MTD_ST_SPI_FSM | 213 | config MTD_ST_SPI_FSM |
214 | tristate "ST Microelectronics SPI FSM Serial Flash Controller" | 214 | tristate "ST Microelectronics SPI FSM Serial Flash Controller" |
215 | depends on ARCH_STI || COMPILE_TEST | 215 | depends on ARCH_STI |
216 | help | 216 | help |
217 | This provides an MTD device driver for the ST Microelectronics | 217 | This provides an MTD device driver for the ST Microelectronics |
218 | SPI Fast Sequence Mode (FSM) Serial Flash Controller and support | 218 | SPI Fast Sequence Mode (FSM) Serial Flash Controller and support |