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
/
sharp.c
diff --git
a/drivers/mtd/chips/sharp.c
b/drivers/mtd/chips/sharp.c
index
c3cf0f6
..
1313c70
100644
(file)
--- a/
drivers/mtd/chips/sharp.c
+++ b/
drivers/mtd/chips/sharp.c
@@
-4,7
+4,7
@@
* Copyright 2000,2001 David A. Schleef <ds@schleef.org>
* 2000,2001 Lineo, Inc.
*
* Copyright 2000,2001 David A. Schleef <ds@schleef.org>
* 2000,2001 Lineo, Inc.
*
- * $Id: sharp.c,v 1.1
4 2004/08/09 13:19:43
dwmw2 Exp $
+ * $Id: sharp.c,v 1.1
3 2004/07/12 14:06:34
dwmw2 Exp $
*
* Devices supported:
* LH28F016SCT Symmetrical block flash memory, 2Mx8
*
* Devices supported:
* LH28F016SCT Symmetrical block flash memory, 2Mx8
@@
-425,7
+425,8
@@
static int sharp_erase(struct mtd_info *mtd, struct erase_info *instr)
}
instr->state = MTD_ERASE_DONE;
}
instr->state = MTD_ERASE_DONE;
- mtd_erase_callback(instr);
+ if(instr->callback)
+ instr->callback(instr);
return 0;
}
return 0;
}