[PATCH repeat] MTD: Correct typo in preprocessor directive.
Robert P. J. Day
rpjday at crashcourse.ca
Mon Dec 21 06:52:42 EST 2009
Configuration directive should obviously start with "CONFIG_".
Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
---
i submitted this already but it hasn't gone in so i don't want it
lost in the shuffle. it looks like a simple typo fix, unless someone
else sees something more there.
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;
========================================================================
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