aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-08-30 21:45:46 -0400
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 08:57:44 -0400
commit19fb4341ad7a72e4c996234a1834e52e1f7954ba (patch)
tree4eff2d048c465dbe347d24af91016ea0680dc1e0 /include
parent4a89ff885ff9f64ea62669100766e10e4e257c6e (diff)
mtd: kill old field for `struct mtd_info_user'
The ecctype and eccsize fields have been obsolete for a while. Since they don't have any users, we can kill them and leave padding in their place for now. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/mtd/mtd-abi.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h
index 7dee9709fbfc..1a7e1d20adf9 100644
--- a/include/mtd/mtd-abi.h
+++ b/include/mtd/mtd-abi.h
@@ -129,10 +129,7 @@ struct mtd_info_user {
129 __u32 erasesize; 129 __u32 erasesize;
130 __u32 writesize; 130 __u32 writesize;
131 __u32 oobsize; /* Amount of OOB data per block (e.g. 16) */ 131 __u32 oobsize; /* Amount of OOB data per block (e.g. 16) */
132 /* The below two fields are obsolete and broken, do not use them 132 __u64 padding; /* Old obsolete field; do not use */
133 * (TODO: remove at some point) */
134 __u32 ecctype;
135 __u32 eccsize;
136}; 133};
137 134
138struct region_info_user { 135struct region_info_user {