mtd/fs/jffs2 wbuf.c,1.52,1.53

David Woodhouse dwmw2 at infradead.org
Sat Oct 11 07:46:12 EDT 2003


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv21567

Modified Files:
	wbuf.c 
Log Message:
Switch to C99 initialisers


Index: wbuf.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/wbuf.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- wbuf.c	8 Oct 2003 17:20:08 -0000	1.52
+++ wbuf.c	11 Oct 2003 11:46:09 -0000	1.53
@@ -1077,13 +1077,14 @@
 #define NAND_JFFS2_OOB16_FSDALEN	8
 
 static struct nand_oobinfo jffs2_oobinfo_swecc = {
-	useecc: 1,
-	eccpos: {JFFS2_OOB_ECCPOS0, JFFS2_OOB_ECCPOS1, JFFS2_OOB_ECCPOS2, JFFS2_OOB_ECCPOS3, JFFS2_OOB_ECCPOS4, JFFS2_OOB_ECCPOS5}
+	.useecc = 1,
+	.eccpos = {JFFS2_OOB_ECCPOS0, JFFS2_OOB_ECCPOS1, JFFS2_OOB_ECCPOS2,
+		   JFFS2_OOB_ECCPOS3, JFFS2_OOB_ECCPOS4, JFFS2_OOB_ECCPOS5}
 };
 
 static struct nand_oobinfo jffs2_oobinfo_docecc = {
-	useecc: 1,
-	eccpos: {0,1,2,3,4,5}
+	.useecc = 1,
+	.eccpos = {0,1,2,3,4,5}
 };
 
 




More information about the linux-mtd-cvs mailing list