diff options
Diffstat (limited to 'include/linux/mtd/mtd.h')
-rw-r--r-- | include/linux/mtd/mtd.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index d644e57703ad..afab253ad60e 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h | |||
@@ -120,16 +120,6 @@ struct mtd_info { | |||
120 | u_int32_t ecctype; | 120 | u_int32_t ecctype; |
121 | u_int32_t eccsize; | 121 | u_int32_t eccsize; |
122 | 122 | ||
123 | /* | ||
124 | * Reuse some of the above unused fields in the case of NOR flash | ||
125 | * with configurable programming regions to avoid modifying the | ||
126 | * user visible structure layout/size. Only valid when the | ||
127 | * MTD_PROGRAM_REGIONS flag is set. | ||
128 | * (Maybe we should have an union for those?) | ||
129 | */ | ||
130 | #define MTD_PROGREGION_CTRLMODE_VALID(mtd) (mtd)->oobsize | ||
131 | #define MTD_PROGREGION_CTRLMODE_INVALID(mtd) (mtd)->ecctype | ||
132 | |||
133 | // Kernel-only stuff starts here. | 123 | // Kernel-only stuff starts here. |
134 | char *name; | 124 | char *name; |
135 | int index; | 125 | int index; |