mtd/include/linux/mtd nand_ecc.h,1.3,1.4

dbrown at infradead.org dbrown at infradead.org
Wed Jun 16 22:35:05 EDT 2004


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

Modified Files:
	nand_ecc.h 
Log Message:
Fix return type.


Index: nand_ecc.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/nand_ecc.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- nand_ecc.h	1 Jul 2003 23:31:15 -0000	1.3
+++ nand_ecc.h	17 Jun 2004 02:35:02 -0000	1.4
@@ -20,7 +20,7 @@
 /*
  * Calculate 3 byte ECC code for 256 byte block
  */
-void nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code);
+int nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code);
 
 /*
  * Detect and correct a 1 bit error for 256 byte block





More information about the linux-mtd-cvs mailing list