[MTD] [NAND] Correct misspelled preprocessor variable.
authorRobert P. J. Day <rpjday@mindspring.com>
Wed, 7 Mar 2007 23:33:25 +0000 (18:33 -0500)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 8 Mar 2007 09:48:14 +0000 (09:48 +0000)
Replace the apparently misspelled preprocessor variable
"MTD_NAND_DISKONCHIP_BBTWRITE" with the correct form
"CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE".

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/diskonchip.c

index 12608c13cce5b2365c3aaf5e77f2481ec9bef241..595208f965a55cdd31f5359cd704d283785a3d34 100644 (file)
@@ -114,7 +114,7 @@ module_param(no_autopart, int, 0);
 static int show_firmware_partition = 0;
 module_param(show_firmware_partition, int, 0);
 
-#ifdef MTD_NAND_DISKONCHIP_BBTWRITE
+#ifdef CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE
 static int inftl_bbt_write = 1;
 #else
 static int inftl_bbt_write = 0;