mtd/include/linux/mtd nand.h,1.29,1.30
David Woodhouse
dwmw2 at infradead.org
Thu Jul 3 06:36:44 EDT 2003
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv8608
Modified Files:
nand.h
Log Message:
Fix verify_buf to take const buffer, add block_bad method
Index: nand.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/nand.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- nand.h 2 Jul 2003 13:09:00 -0000 1.29
+++ nand.h 3 Jul 2003 10:36:41 -0000 1.30
@@ -170,9 +170,9 @@
void (*write_buf)(struct mtd_info *mtd, const u_char *buf, int len);
void (*read_buf)(struct mtd_info *mtd, u_char *buf, int len);
- int (*verify_buf)(struct mtd_info *mtd, u_char *buf, int len);
+ int (*verify_buf)(struct mtd_info *mtd, const u_char *buf, int len);
void (*select_chip)(struct mtd_info *mtd, int chip);
-
+ int (*block_bad)(struct mtd_info *mtd, unsigned long pos);
void (*hwcontrol)(struct mtd_info *mtd, int cmd);
int (*dev_ready)(struct mtd_info *mtd);
void (*cmdfunc)(struct mtd_info *mtd, unsigned command, int column, int page_addr);
More information about the linux-mtd-cvs
mailing list