projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: add a new ecc_step_size field to mtd_info{}
[linux-drm-fsl-dcu.git]
/
include
/
linux
/
mtd
/
mtd.h
diff --git
a/include/linux/mtd/mtd.h
b/include/linux/mtd/mtd.h
index a5cf4e8d68187e5bd5e7892effc0957dc5bfea0b..f9bfe526d3102175ab3d32149966f61aab35da62 100644
(file)
--- a/
include/linux/mtd/mtd.h
+++ b/
include/linux/mtd/mtd.h
@@
-173,6
+173,9
@@
struct mtd_info {
/* ECC layout structure pointer - read only! */
struct nand_ecclayout *ecclayout;
+ /* the ecc step size. */
+ unsigned int ecc_step_size;
+
/* max number of correctible bit errors per ecc step */
unsigned int ecc_strength;