diff options
Diffstat (limited to 'target/linux/generic/files/fs/yaffs2/yaffs_mtdif.c')
-rw-r--r-- | target/linux/generic/files/fs/yaffs2/yaffs_mtdif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/fs/yaffs2/yaffs_mtdif.c b/target/linux/generic/files/fs/yaffs2/yaffs_mtdif.c index 7c01461ab9..d15c660638 100644 --- a/target/linux/generic/files/fs/yaffs2/yaffs_mtdif.c +++ b/target/linux/generic/files/fs/yaffs2/yaffs_mtdif.c @@ -259,7 +259,7 @@ struct mtd_info * yaffs_get_mtd_device(dev_t sdev) return NULL; /* This isn't an mtd device */ /* Check it's NAND */ - if (mtd->type != MTD_NANDFLASH) { + if (mtd->type != MTD_NANDFLASH && mtd->type != MTD_MLCNANDFLASH) { yaffs_trace(YAFFS_TRACE_ALWAYS, "yaffs: MTD device is not NAND it's type %d", mtd->type); |