diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mtd/mtd.h | 2 | ||||
-rw-r--r-- | include/mtd/mtd-abi.h | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index 6882cd968a3e..c2047b85691d 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h | |||
@@ -79,7 +79,7 @@ struct mtd_erase_region_info { | |||
79 | * @ooblen: number of oob bytes to write/read | 79 | * @ooblen: number of oob bytes to write/read |
80 | * @oobretlen: number of oob bytes written/read | 80 | * @oobretlen: number of oob bytes written/read |
81 | * @ooboffs: offset of oob data in the oob area (only relevant when | 81 | * @ooboffs: offset of oob data in the oob area (only relevant when |
82 | * mode = MTD_OOB_PLACE) | 82 | * mode = MTD_OPS_PLACE_OOB) |
83 | * @datbuf: data buffer - if NULL only oob data are read/written | 83 | * @datbuf: data buffer - if NULL only oob data are read/written |
84 | * @oobbuf: oob data buffer | 84 | * @oobbuf: oob data buffer |
85 | * | 85 | * |
diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h index af42c7a34805..d30990e1858b 100644 --- a/include/mtd/mtd-abi.h +++ b/include/mtd/mtd-abi.h | |||
@@ -46,18 +46,18 @@ struct mtd_oob_buf64 { | |||
46 | }; | 46 | }; |
47 | 47 | ||
48 | /* | 48 | /* |
49 | * oob operation modes | 49 | * MTD operation modes |
50 | * | 50 | * |
51 | * MTD_OOB_PLACE: oob data are placed at the given offset (default) | 51 | * MTD_OPS_PLACE_OOB: oob data are placed at the given offset (default) |
52 | * MTD_OOB_AUTO: oob data are automatically placed at the free areas | 52 | * MTD_OPS_AUTO_OOB: oob data are automatically placed at the free areas |
53 | * which are defined by the internal ecclayout | 53 | * which are defined by the internal ecclayout |
54 | * MTD_OOB_RAW: mode to read or write oob and data without doing ECC | 54 | * MTD_OPS_RAW: mode to read or write oob and data without doing ECC |
55 | * checking | 55 | * checking |
56 | */ | 56 | */ |
57 | enum { | 57 | enum { |
58 | MTD_OOB_PLACE = 0, | 58 | MTD_OPS_PLACE_OOB = 0, |
59 | MTD_OOB_AUTO = 1, | 59 | MTD_OPS_AUTO_OOB = 1, |
60 | MTD_OOB_RAW = 2, | 60 | MTD_OPS_RAW = 2, |
61 | }; | 61 | }; |
62 | 62 | ||
63 | #define MTD_ABSENT 0 | 63 | #define MTD_ABSENT 0 |