mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH repeat] MTD:  Correct typo in preprocessor directive.
@ 2009-12-21 11:52 Robert P. J. Day
  2009-12-21 14:24 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2009-12-21 11:52 UTC (permalink / raw)
  To: U-Boot Version 2 (barebox)


Configuration directive should obviously start with "CONFIG_".

Signed-off-by: Robert P. J. Day <rpjday@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
========================================================================

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-21 14:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-21 11:52 [PATCH repeat] MTD: Correct typo in preprocessor directive Robert P. J. Day
2009-12-21 14:24 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox