Fresh pull from upstream
[librecmc/librecmc.git] / target / linux / generic / files / fs / yaffs2 / yaffs_vfs.c
index 864a5dc185c93b3c92534363e4855b908f8fe642..73dcc3ca8cee017fed7f8890af82f26ce2eaa224 100644 (file)
@@ -2598,7 +2598,7 @@ static int yaffs_remount_fs(struct super_block *sb, int *flags, char *data)
        }
 
        /* Check it's NAND */
-       if (mtd->type != MTD_NANDFLASH) {
+       if (mtd->type != MTD_NANDFLASH && mtd->type != MTD_MLCNANDFLASH) {
                yaffs_trace(YAFFS_TRACE_ALWAYS,
                        "MTD device is not NAND it's type %d",
                        mtd->type);