mtd/include/linux/mtd nand.h,1.41,1.42
gleixner at infradead.org
gleixner at infradead.org
Mon Mar 29 11:01:21 EST 2004
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv15148
Modified Files:
nand.h
Log Message:
use offset for block_bad function
Index: nand.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/nand.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- nand.h 29 Mar 2004 15:33:08 -0000 1.41
+++ nand.h 29 Mar 2004 16:01:19 -0000 1.42
@@ -203,7 +203,7 @@
void (*read_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);
+ int (*block_bad)(struct mtd_info *mtd, loff_t ofs);
int (*block_markbad)(struct mtd_info *mtd, loff_t ofs);
void (*hwcontrol)(struct mtd_info *mtd, int cmd);
int (*dev_ready)(struct mtd_info *mtd);
More information about the linux-mtd-cvs
mailing list