From 0c96e2cc871c3437193ce810b96d666ae12838de Mon Sep 17 00:00:00 2001 From: Huang Shijie Date: Tue, 31 Jan 2012 16:50:03 +0800 Subject: [PATCH] ENGR00173397 MTD: add NAND_BBT_USE_FLASH macro add the new macro to fix a compiling error. Signed-off-by: Huang Shijie --- include/linux/mtd/nand.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index c3284c42a33c..1cd6d901dcd4 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -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 /* -- 2.39.5