summaryrefslogtreecommitdiff
path: root/yaffs_mtdif.c
diff options
context:
space:
mode:
authormarty <marty>2005-07-31 04:05:14 +0000
committermarty <marty>2005-07-31 04:05:14 +0000
commit1c4056c8ab9d9a090280567b2249f4bdd3412454 (patch)
treebf232f328f6bef4cef42b67dd63c3ed309abc1eb /yaffs_mtdif.c
parent36c05dc20667149c315e0d2a4aa3c98c2894da9e (diff)
applied patch 11-sparse-fix--use-C99-struct-initializer.diff
Diffstat (limited to 'yaffs_mtdif.c')
-rw-r--r--yaffs_mtdif.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/yaffs_mtdif.c b/yaffs_mtdif.c
index 2f418b9..8260f03 100644
--- a/yaffs_mtdif.c
+++ b/yaffs_mtdif.c
@@ -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,
};