From: Richard Weinberger Date: Mon, 25 Jan 2016 22:24:20 +0000 (+0100) Subject: mtd: cs553x: Fix dependencies for !HAS_IOMEM archs X-Git-Tag: v4.14-rc1~3536^2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02c3b0bd69a537557484e46a5937874a2d2ad454;p=platform%2Fkernel%2Flinux-rpi.git mtd: cs553x: Fix dependencies for !HAS_IOMEM archs Not every arch has io memory nor can this driver ever work on UML/i386. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger Signed-off-by: Brian Norris --- diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 545d82b..b253654 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -311,6 +311,7 @@ config MTD_NAND_CAFE config MTD_NAND_CS553X tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)" depends on X86_32 + depends on !UML && HAS_IOMEM help The CS553x companion chips for the AMD Geode processor include NAND flash controllers with built-in hardware ECC