summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-03-08 00:33:25 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2007-03-08 10:48:14 +0100
commit89e2bf61da9d7664293a57100a419f8116252607 (patch)
tree20018ecee6424539d24ece0006e1d7434fcc6c6f /drivers/mtd
parent[MTD] [MAPS] dilnetpc: Fix printk warning (diff)
downloadlinux-89e2bf61da9d7664293a57100a419f8116252607.tar.xz
linux-89e2bf61da9d7664293a57100a419f8116252607.zip
[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')
-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;