git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
drivers
/
mtd
/
chips
/
jedec.c
diff --git
a/drivers/mtd/chips/jedec.c
b/drivers/mtd/chips/jedec.c
index
2dfd53e
..
0b6e96f
100644
(file)
--- a/
drivers/mtd/chips/jedec.c
+++ b/
drivers/mtd/chips/jedec.c
@@
-11,7
+11,7
@@
* not going to guess how to send commands to them, plus I expect they will
* all speak CFI..
*
* not going to guess how to send commands to them, plus I expect they will
* all speak CFI..
*
- * $Id: jedec.c,v 1.2
1 2004/08/09 13:19:43
dwmw2 Exp $
+ * $Id: jedec.c,v 1.2
0 2004/07/12 14:03:01
dwmw2 Exp $
*/
#include <linux/init.h>
*/
#include <linux/init.h>
@@
-780,7
+780,8
@@
static int flash_erase(struct mtd_info *mtd, struct erase_info *instr)
//printk("done\n");
instr->state = MTD_ERASE_DONE;
//printk("done\n");
instr->state = MTD_ERASE_DONE;
- mtd_erase_callback(instr);
+ if (instr->callback)
+ instr->callback(instr);
return 0;
#undef flread
return 0;
#undef flread