Skip to contentSkip to conversation

MTD: Correct typo in preprocessor directive.

PATCH New Robert P. J. Day 1 participant 1 message Dec 20, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MTD: Correct typo in preprocessor directive.

Configuration directive should obviously start with "CONFIG_".

---

drivers/nand/diskonchip.c +1 -1
index e17af70..e762524 100644
@@ -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

========================================================================

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox