diff options
author | Brian Norris <computersforpeace@gmail.com> | 2011-08-30 21:45:40 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 08:28:59 -0400 |
commit | 0612b9ddc2eeda014dd805c87c752b342d8f80f0 (patch) | |
tree | 7691ee548ab6da1e7df946a75abd96a814208d8e /drivers/mtd/onenand/onenand_bbt.c | |
parent | 905c6bcdb42616da717a9bd6c0c5870dbd90b09e (diff) |
mtd: rename MTD_OOB_* to MTD_OPS_*
These modes are not necessarily for OOB only. Particularly, MTD_OOB_RAW
affected operations on in-band page data as well. To clarify these
options and to emphasize that their effect is applied per-operation, we
change the primary prefix to MTD_OPS_.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'drivers/mtd/onenand/onenand_bbt.c')
-rw-r--r-- | drivers/mtd/onenand/onenand_bbt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/onenand_bbt.c b/drivers/mtd/onenand/onenand_bbt.c index 3b9a2a9573c6..09956c4fd850 100644 --- a/drivers/mtd/onenand/onenand_bbt.c +++ b/drivers/mtd/onenand/onenand_bbt.c | |||
@@ -80,7 +80,7 @@ static int create_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr | |||
80 | startblock = 0; | 80 | startblock = 0; |
81 | from = 0; | 81 | from = 0; |
82 | 82 | ||
83 | ops.mode = MTD_OOB_PLACE; | 83 | ops.mode = MTD_OPS_PLACE_OOB; |
84 | ops.ooblen = readlen; | 84 | ops.ooblen = readlen; |
85 | ops.oobbuf = buf; | 85 | ops.oobbuf = buf; |
86 | ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; | 86 | ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; |