mtd: nand: ecc: mxic: Fix compile test issue
[sfrench/cifs-2.6.git] / drivers / mtd / nand / Kconfig
index 8431292ff49ddec9cfd85af67b92843b3254a5be..9b249826ef93e2ee04138a0963e184d84cc6bb96 100644 (file)
@@ -48,6 +48,7 @@ config MTD_NAND_ECC_SW_BCH
 
 config MTD_NAND_ECC_MXIC
        bool "Macronix external hardware ECC engine"
+       depends on HAS_IOMEM
        select MTD_NAND_ECC
        help
          This enables support for the hardware ECC engine from Macronix.