diff options
author | Brian Norris <computersforpeace@gmail.com> | 2011-05-31 19:31:25 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 08:01:56 -0400 |
commit | 53d5d8885089b8abeb487392311ed18f897deb93 (patch) | |
tree | 9bba448a48dcb000f17cd424c51a5c62db6eca06 /drivers/mtd | |
parent | b8f80684054ec8a3bcdf35dc9c76ddf629a36482 (diff) |
mtd: nand: rename CREATE_EMPTY bbt flag with proper prefix
According to our new prefix rules, we should rename NAND_CREATE_EMPTY_BBT
with a NAND_BBT prefix, i.e., NAND_BBT_CREATE_EMPTY.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/nand_bbt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_bbt.c b/drivers/mtd/nand/nand_bbt.c index 2e4e25996f03..9af703def4aa 100644 --- a/drivers/mtd/nand/nand_bbt.c +++ b/drivers/mtd/nand/nand_bbt.c | |||
@@ -970,7 +970,7 @@ static int check_create(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_desc | |||
970 | continue; | 970 | continue; |
971 | 971 | ||
972 | /* Create the table in memory by scanning the chip(s) */ | 972 | /* Create the table in memory by scanning the chip(s) */ |
973 | if (!(this->bbt_options & NAND_CREATE_EMPTY_BBT)) | 973 | if (!(this->bbt_options & NAND_BBT_CREATE_EMPTY)) |
974 | create_bbt(mtd, buf, bd, chipsel); | 974 | create_bbt(mtd, buf, bd, chipsel); |
975 | 975 | ||
976 | td->version[i] = 1; | 976 | td->version[i] = 1; |