[MTD] [NAND] Correct misspelled preprocessor variable.

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Thu Mar 8 05:59:03 EST 2007


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=89e2bf61da9d7664293a57100a419f8116252607
Commit:     89e2bf61da9d7664293a57100a419f8116252607
Parent:     99109a6dacfc314a51371d9c3212a55cd7c0c98c
Author:     Robert P. J. Day <rpjday at mindspring.com>
AuthorDate: Wed Mar 7 18:33:25 2007 -0500
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Thu Mar 8 09:48:14 2007 +0000

    [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 at mindspring.com>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/nand/diskonchip.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c
index 12608c1..595208f 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;



More information about the linux-mtd-cvs mailing list