aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/nand_bbt.c2
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;