mtd/include/linux/mtd nand.h,1.42,1.43

gleixner at infradead.org gleixner at infradead.org
Wed Mar 31 02:21:33 EST 2004


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

Modified Files:
	nand.h 
Log Message:
change interface for internal block_bad()

Index: nand.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/nand.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- nand.h	29 Mar 2004 16:01:19 -0000	1.42
+++ nand.h	31 Mar 2004 07:21:31 -0000	1.43
@@ -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, loff_t ofs);
+	int		(*block_bad)(struct mtd_info *mtd, loff_t ofs, int getchip);
 	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