Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27884
b: refs/heads/master
c: 7fac464
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and David Woodhouse committed May 25, 2006
1 parent a51bbc4 commit 975c9f7
Show file tree
Hide file tree
Showing 2 changed files with 15 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: 7314e9e7d57293c58b3e10a25a8a1d9328444187
refs/heads/master: 7fac464868ec5d80019fa549b8b4516dd1dc9d5c
14 changes: 14 additions & 0 deletions trunk/include/linux/mtd/mtd.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@ struct mtd_erase_region_info {
u_int32_t numblocks; /* Number of blocks of erasesize in this region */
};

/**
* struct mtd_ecc_stats - error correction status
*
* @corrected: number of corrected bits
* @failed: number of uncorrectable errors
*/
struct mtd_ecc_stats {
unsigned long corrected;
unsigned long failed;
};

struct mtd_info {
u_char type;
u_int32_t flags;
Expand Down Expand Up @@ -153,6 +164,9 @@ struct mtd_info {

struct notifier_block reboot_notifier; /* default mode before reboot */

/* ECC status information */
struct mtd_ecc_stats ecc_stats;

void *priv;

struct module *owner;
Expand Down

0 comments on commit 975c9f7

Please sign in to comment.