changeset 43:bd62b24db568

Applied patch 03-read-super-MTD-if-CONFIG_YAFFS-or-YAFFS2_MTD_ENABLED.diff
author marty
date Sun, 31 Jul 2005 04:58:17 +0100
parents f1a93c339673
children a87701c575cf
files yaffs_fs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/yaffs_fs.c
+++ b/yaffs_fs.c
@@ -1406,7 +1406,7 @@ static struct super_block *yaffs_interna
 	}
 	else
 	{	
-#ifdef CONFIG_YAFFS_MTD_ENABLED
+#if defined(CONFIG_YAFFS_MTD_ENABLED) || defined(CONFIG_YAFFS2_MTD_ENABLED)
 		struct mtd_info *mtd;
 		
 		T(YAFFS_TRACE_ALWAYS,("yaffs: Attempting MTD mount on %u.%u, \"%s\"\n",