mtd/include/mtd mtd-abi.h,1.2,1.3

gleixner at infradead.org gleixner at infradead.org
Fri Jun 4 05:03:37 EDT 2004


Update of /home/cvs/mtd/include/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv29953

Modified Files:
	mtd-abi.h 
Log Message:
Use explicit sized types. Put the eccpos array at the end so it is expandable. Signed-off-by: Thomas Gleixner <tglx at linutronix.de>

Index: mtd-abi.h
===================================================================
RCS file: /home/cvs/mtd/include/mtd/mtd-abi.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mtd-abi.h	4 Jun 2004 08:16:06 -0000	1.2
+++ mtd-abi.h	4 Jun 2004 09:03:35 -0000	1.3
@@ -84,10 +84,10 @@
 #define MEMSETOOBSEL		_IOW('M', 9, struct nand_oobinfo)
 
 struct nand_oobinfo {
-	int	useecc;
-	int	eccbytes;
-	int	eccpos[32];
-	int	oobfree[8][2];
+	uint32_t useecc;
+	uint32_t eccbytes;
+	uint32_t oobfree[8][2];
+	uint32_t eccpos[32];
 };
 
 #endif /* __MTD_ABI_H__ */





More information about the linux-mtd-cvs mailing list