diff options
author | Richard Weinberger <richard@nod.at> | 2016-01-25 22:24:20 (GMT) |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-02-01 17:37:03 (GMT) |
commit | 02c3b0bd69a537557484e46a5937874a2d2ad454 (patch) | |
tree | 2cee13e2a9552f886ed238c07cfa2ac3c238c848 /drivers/mtd | |
parent | 15c0be7bec002f9a529dd0966d0db96dde176fd0 (diff) | |
download | linux-02c3b0bd69a537557484e46a5937874a2d2ad454.tar.xz |
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 <richard@nod.at>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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 |