]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mtd: nand: xway: disable module support
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 5 Dec 2016 21:14:36 +0000 (22:14 +0100)
committerJiri Slaby <jslaby@suse.cz>
Thu, 26 Jan 2017 16:41:03 +0000 (17:41 +0100)
commit 73529c872a189c747bdb528ce9b85b67b0e28dec upstream.

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.")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/mtd/nand/Kconfig

index d88529841d3f191dce0f8233a56f1cce63c0e0ba..2bb9c04cb2c566229791ee3d00550af064bf0cd0 100644 (file)
@@ -531,7 +531,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
        select MTD_NAND_PLATFORM
        help