]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: st_spi_fsm: only build for ARM
authorBrian Norris <computersforpeace@gmail.com>
Wed, 16 Apr 2014 08:40:17 +0000 (01:40 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 17 Apr 2014 04:59:29 +0000 (21:59 -0700)
commitdc002f99f3aa7c05981ecbbbc20efe5e8befe98a
tree7f0ba294579764c265e049b1ece88ed4dbdf6a98
parent38e2eee9abf202b5edad73eb0288e0a4dfaacfca
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>
drivers/mtd/devices/Kconfig