[PATCH V2 1/2] mtd: nand: xway: disable module support

Hauke Mehrtens hauke at hauke-m.de
Mon Dec 5 13:14:36 PST 2016

The xway_nand driver accesses the ltq_ebu_membase symbol which is not
exported. This also should not get exported and we should handle the
EBU interface in a better way later. This quick fix just deactivated
support for building as module.

Cc: <stable at vger.kernel.org>
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
 drivers/mtd/nand/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 7b7a887..b254090 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -537,7 +537,7 @@ config MTD_NAND_FSMC
 	  Flexible Static Memory Controller (FSMC)
-	tristate "Support for NAND on Lantiq XWAY SoC"
+	bool "Support for NAND on Lantiq XWAY SoC"
 	depends on LANTIQ && SOC_TYPE_XWAY
 	  Enables support for NAND Flash chips on Lantiq XWAY SoCs. NAND is attached

More information about the linux-mtd mailing list