*
*/
-const char *yaffs_mtdif_c_version = "$Id: yaffs_mtdif.c,v 1.3 2005-07-31 04:05:14 marty Exp $";
-
-#ifdef CONFIG_YAFFS_MTD_ENABLED
+const char *yaffs_mtdif_c_version = "$Id: yaffs_mtdif.c,v 1.6 2005-07-31 08:38:41 marty Exp $";
#include "yportenv.h"
+#ifdef CONFIG_YAFFS_YAFFS1
+
#include "yaffs_mtdif.h"
#include "linux/mtd/mtd.h"
#include "linux/mtd/nand.h"
#endif
-struct nand_oobinfo yaffs_oobinfo = {
+static struct nand_oobinfo yaffs_oobinfo = {
.useecc = 1,
.eccpos = {8, 9, 10, 13, 14, 15}
};
-struct nand_oobinfo yaffs_noeccinfo = {
+static struct nand_oobinfo yaffs_noeccinfo = {
.useecc = 0,
};
return YAFFS_OK;
}
-#endif // CONFIG_YAFFS_MTD_ENABLED
+#endif // CONFIG_YAFFS_YAFFS1