*
*/
-const char *yaffs_mtdif_c_version = "$Id: yaffs_mtdif.c,v 1.2 2005-07-19 20:41:59 charles Exp $";
-
-#ifdef CONFIG_YAFFS_MTD_ENABLED
+const char *yaffs_mtdif_c_version = "$Id: yaffs_mtdif.c,v 1.5 2005-07-31 06:47:12 marty Exp $";
#include "yportenv.h"
+#ifdef CONFIG_YAFFS_MTD_ENABLED
+
#include "yaffs_mtdif.h"
#include "linux/mtd/mtd.h"
#include "linux/mtd/nand.h"
#endif
-struct nand_oobinfo yaffs_oobinfo = {
- useecc: 1,
- eccpos: {8, 9, 10, 13, 14, 15}
+static struct nand_oobinfo yaffs_oobinfo = {
+ .useecc = 1,
+ .eccpos = {8, 9, 10, 13, 14, 15}
};
-struct nand_oobinfo yaffs_noeccinfo = {
- useecc: 0,
+static struct nand_oobinfo yaffs_noeccinfo = {
+ .useecc = 0,
};