// mtd interface for YAFFS2
-const char *yaffs_mtdif2_c_version = "$Id: yaffs_mtdif2.c,v 1.3 2005-07-20 18:57:05 charles Exp $";
-
-#ifdef CONFIG_YAFFS_MTD_ENABLED
+const char *yaffs_mtdif2_c_version = "$Id: yaffs_mtdif2.c,v 1.5 2005-07-31 08:38:41 marty Exp $";
#include "yportenv.h"
+#ifdef CONFIG_YAFFS_YAFFS1
+
#include "yaffs_mtdif2.h"
#include "linux/mtd/mtd.h"