mtd: st_spi_fsm: fixup Kconfig dependency

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jun 10 23:59:04 PDT 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=8607bd42728c648f03cb04f8906411ba3da984e5
Commit:     8607bd42728c648f03cb04f8906411ba3da984e5
Parent:     e43b20619bdb6c851dd7b49cbd15e52875a785d4
Author:     Brian Norris <computersforpeace at gmail.com>
AuthorDate: Tue Apr 8 18:28:40 2014 -0700
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Mon Apr 14 11:23:01 2014 -0700

    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 at gmail.com>
    Acked-by: Lee Jones <lee.jones at linaro.org>
    Reviewed-by: Marek Vasut <marex at denx.de>
---
 drivers/mtd/devices/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig
index f9e32b5..9aae104 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



More information about the linux-mtd-cvs mailing list