summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/diskonchip.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-03-07 18:33:25 -0500
committerDavid Woodhouse <dwmw2@infradead.org>2007-03-08 09:48:14 +0000
commit89e2bf61da9d7664293a57100a419f8116252607 (patch)
tree20018ecee6424539d24ece0006e1d7434fcc6c6f /drivers/mtd/nand/diskonchip.c
parent99109a6dacfc314a51371d9c3212a55cd7c0c98c (diff)
downloadlinux-89e2bf61da9d7664293a57100a419f8116252607.tar.bz2
[MTD] [NAND] Correct misspelled preprocessor variable.
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>
Diffstat (limited to 'drivers/mtd/nand/diskonchip.c')
-rw-r--r--drivers/mtd/nand/diskonchip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c
index 12608c13cce5..595208f965a5 100644
--- a/drivers/mtd/nand/diskonchip.c
+++ b/drivers/mtd/nand/diskonchip.c
@@ -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;