mtd: nand: xway: disable module support

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Thu Jan 5 10:59:01 PST 2017


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=73529c872a189c747bdb528ce9b85b67b0e28dec
Commit:     73529c872a189c747bdb528ce9b85b67b0e28dec
Parent:     7ce7d89f48834cefece7804d38fc5d85382edf77
Author:     Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Mon Dec 5 22:14:36 2016 +0100
Committer:  Boris Brezillon <boris.brezillon at free-electrons.com>
CommitDate: Mon Jan 2 09:43:57 2017 +0100

    mtd: nand: xway: disable module support
    
    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.
    
    Fixes: 99f2b107924c ("mtd: lantiq: Add NAND support on Lantiq XWAY SoC.")
    Cc: <stable at vger.kernel.org>
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
    Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
---
 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 353a9dd..2f35ab5 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -540,7 +540,7 @@ config MTD_NAND_FSMC
 	  Flexible Static Memory Controller (FSMC)
 
 config MTD_NAND_XWAY
-	tristate "Support for NAND on Lantiq XWAY SoC"
+	bool "Support for NAND on Lantiq XWAY SoC"
 	depends on LANTIQ && SOC_TYPE_XWAY
 	help
 	  Enables support for NAND Flash chips on Lantiq XWAY SoCs. NAND is attached



More information about the linux-mtd-cvs mailing list