From: Boris Brezillon Date: Mon, 9 Jul 2018 20:09:44 +0000 (+0200) Subject: mtd: rawnand: jz4780: Drop the dependency on MACH_JZ4780 X-Git-Tag: for-linus-20180825~120^2~2^2~71 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=b8f0fadab208d87cab715b7599e0c15b4b2cc55f;p=linux-block.git mtd: rawnand: jz4780: Drop the dependency on MACH_JZ4780 This MACH_JZ4780 dependency is taken care of by JZ4780_NEMC, no need to repeat it here. Signed-off-by: Boris Brezillon Acked-by: Paul Burton Signed-off-by: Miquel Raynal --- diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index 0711bd714cd5..d495759c94ac 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -497,7 +497,7 @@ config MTD_NAND_JZ4740 config MTD_NAND_JZ4780 tristate "Support for NAND on JZ4780 SoC" - depends on MACH_JZ4780 && JZ4780_NEMC + depends on JZ4780_NEMC help Enables support for NAND Flash connected to the NEMC on JZ4780 SoC based boards, using the BCH controller for hardware error correction.