From d3eb58f92fcce92219e2e7ab32f57c148bd24aff Mon Sep 17 00:00:00 2001 From: Huang Shijie Date: Tue, 31 Jan 2012 16:50:03 +0800 Subject: 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(+) (limited to 'include/linux') 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 /* -- cgit v1.2.3