applied patch 11-sparse-fix--use-C99-struct-initializer.diff
[yaffs2.git] / yaffs_mtdif.c
index 2f418b9b6e36b82fd0b6e1603bf26eda80823ce8..8260f031fdea482ccd4b899a62481f86996c4896 100644 (file)
@@ -13,7 +13,7 @@
  *
  */
 
-const char *yaffs_mtdif_c_version = "$Id: yaffs_mtdif.c,v 1.2 2005-07-19 20:41:59 charles Exp $";
+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
  
@@ -30,12 +30,12 @@ const char *yaffs_mtdif_c_version = "$Id: yaffs_mtdif.c,v 1.2 2005-07-19 20:41:5
 #endif
 
 struct nand_oobinfo yaffs_oobinfo = {
-       useecc: 1,
-       eccpos: {8, 9, 10, 13, 14, 15}
+       .useecc = 1,
+       .eccpos = {8, 9, 10, 13, 14, 15}
 };
 
 struct nand_oobinfo yaffs_noeccinfo = {
-       useecc: 0,
+       .useecc = 0,
 };