[PATCH] MTD: Correct typo in preprocessor directive.

Robert P. J. Day rpjday at crashcourse.ca
Sun Dec 20 06:41:43 EST 2009


Configuration directive should obviously start with "CONFIG_".

Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>

---

diff --git a/drivers/nand/diskonchip.c b/drivers/nand/diskonchip.c
index e17af70..e762524 100644
--- a/drivers/nand/diskonchip.c
+++ b/drivers/nand/diskonchip.c
@@ -120,7 +120,7 @@ static int no_autopart=0;
 module_param(no_autopart, int, 0);
 #endif

-#ifdef MTD_NAND_DISKONCHIP_BBTWRITE
+#ifdef CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE
 static int inftl_bbt_write=1;
 #else
 static int inftl_bbt_write=0;

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================



More information about the barebox mailing list