diff mbox

[6/9] mtd: st_spi_fsm: fixup Kconfig dependency

Message ID 1397064774-31784-6-git-send-email-computersforpeace@gmail.com
State Accepted
Commit 8607bd42728c648f03cb04f8906411ba3da984e5
Headers show

Commit Message

Brian Norris April 9, 2014, 5:32 p.m. UTC
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>
Cc: Lee Jones <lee.jones@linaro.org>
---
 drivers/mtd/devices/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Lee Jones April 10, 2014, 7:57 a.m. UTC | #1
On Wed, 09 Apr 2014, Brian Norris wrote:

> 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>
> Cc: Lee Jones <lee.jones@linaro.org>
> ---
>  drivers/mtd/devices/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Lee Jones <lee.jones@linaro.org>
diff mbox

Patch

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