mtd/drivers/mtd mtdpart.c,1.47,1.48

David Woodhouse dwmw2 at infradead.org
Tue Aug 10 05:27:55 EDT 2004


Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv15233

Modified Files:
	mtdpart.c 
Log Message:
make it build

Index: mtdpart.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdpart.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- mtdpart.c	9 Aug 2004 13:19:42 -0000	1.47
+++ mtdpart.c	10 Aug 2004 09:27:52 -0000	1.48
@@ -252,7 +252,7 @@
 void mtd_erase_callback(struct erase_info *instr)
 {
 	if (instr->mtd->erase == part_erase) {
-		struct mtd_part *part = PART(mtd);
+		struct mtd_part *part = PART(instr->mtd);
 
 		if (instr->fail_addr != 0xffffffff)
 			instr->fail_addr -= part->offset;





More information about the linux-mtd-cvs mailing list