]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.4.45/mtd-nand-xway-disable-module-support.patch
4.14-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.4.45 / mtd-nand-xway-disable-module-support.patch
1 From 73529c872a189c747bdb528ce9b85b67b0e28dec Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Mon, 5 Dec 2016 22:14:36 +0100
4 Subject: mtd: nand: xway: disable module support
5
6 From: Hauke Mehrtens <hauke@hauke-m.de>
7
8 commit 73529c872a189c747bdb528ce9b85b67b0e28dec upstream.
9
10 The xway_nand driver accesses the ltq_ebu_membase symbol which is not
11 exported. This also should not get exported and we should handle the
12 EBU interface in a better way later. This quick fix just deactivated
13 support for building as module.
14
15 Fixes: 99f2b107924c ("mtd: lantiq: Add NAND support on Lantiq XWAY SoC.")
16 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
17 Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
18 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19
20 ---
21 drivers/mtd/nand/Kconfig | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
23
24 --- a/drivers/mtd/nand/Kconfig
25 +++ b/drivers/mtd/nand/Kconfig
26 @@ -527,7 +527,7 @@ config MTD_NAND_FSMC
27 Flexible Static Memory Controller (FSMC)
28
29 config MTD_NAND_XWAY
30 - tristate "Support for NAND on Lantiq XWAY SoC"
31 + bool "Support for NAND on Lantiq XWAY SoC"
32 depends on LANTIQ && SOC_TYPE_XWAY
33 select MTD_NAND_PLATFORM
34 help