Skip to contentSkip to conversation

MTD: Correct typo in preprocessor directive.

PATCH In review Robert P. J. Day 2 participants 2 messages Dec 21, 2009

lore
Share & tools
lore
#0 lore raw

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

Configuration directive should obviously start with "CONFIG_".

---

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.

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;

========================================================================
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

#1 lore raw
Quoted 10 lines · Robert P. J. Day

Configuration directive should obviously start with "CONFIG_".

---

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.

Ok, applied.

Sascha

Quoted 30 lines
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;

========================================================================
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

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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