Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68521
b: refs/heads/master
c: b38178e
h: refs/heads/master
i:
  68519: 38db195
v: v3
  • Loading branch information
Jörn Engel authored and David Woodhouse committed Sep 21, 2007
1 parent 381be83 commit 6e9df7e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5041f1f1b753031731bc404c906817323a9c280b
refs/heads/master: b38178ee712e8608f20c8e741adf97f75f1aea39
7 changes: 7 additions & 0 deletions trunk/include/linux/mtd/mtd.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@ struct mtd_info {
int numeraseregions;
struct mtd_erase_region_info *eraseregions;

/*
* Erase is an asynchronous operation. Device drivers are supposed
* to call instr->callback() whenever the operation completes, even
* if it completes with a failure.
* Callers are supposed to pass a callback function and wait for it
* to be called before writing to the block.
*/
int (*erase) (struct mtd_info *mtd, struct erase_info *instr);

/* This stuff for eXecute-In-Place */
Expand Down

0 comments on commit 6e9df7e

Please sign in to comment.