OSDN Git Service

mtd: nand: use NAND_BBT_SCAN_MAXBLOCKS
authorRichard Genoud <richard.genoud@gmail.com>
Tue, 11 Sep 2012 13:50:54 +0000 (15:50 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:54:10 +0000 (15:54 +0100)
commit61de9da657e8c52606d45ae67dfa187111bf9b55
tree05236937dea6bd1cc4406096ee47e2790abc3455
parentb2bc415b6b7bb240b967f6dd95007a2cf7b4c424
mtd: nand: use NAND_BBT_SCAN_MAXBLOCKS

In nand_bbt.c, a hardcoded value was used instead of the define meant
for that, so we use the define.

There's no functional change.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_bbt.c