]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00173397 MTD: add NAND_BBT_USE_FLASH macro
authorHuang Shijie <b32955@freescale.com>
Tue, 31 Jan 2012 08:50:03 +0000 (16:50 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:53 +0000 (08:33 +0200)
add the new macro to fix a compiling error.

Signed-off-by: Huang Shijie <b32955@freescale.com>
include/linux/mtd/nand.h

index c3284c42a33c784727271a658fb13db87c91290e..1cd6d901dcd4d5ef56010954d02832a7570af138 100644 (file)
@@ -224,6 +224,8 @@ typedef enum {
  * This option is passed to the default bad block table function.
  */
 #define NAND_USE_FLASH_BBT     0x00010000
+#define NAND_BBT_USE_FLASH     NAND_USE_FLASH_BBT
+
 /* This option skips the bbt scan during initialization. */
 #define NAND_SKIP_BBTSCAN      0x00020000
 /*