Skip to contentSkip to conversation

Fix include/common.h for boards with CONFIG_STATUS_LED

PATCH New Wolfgang Denk 1 participant 1 message Jul 27, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix include/common.h for boards with CONFIG_STATUS_LED

The reordering of include/common.h by commit fcd3c87e495f3c48 broke boards with status LED support, resulting in
error: #error Status LED configuration missing
errors. Undo this reordering to avoid this issue.

---
 include/common.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
include/common.h +3 -3
index ee174bb..a6922fd 100644
@@ -107,9 +107,6 @@ typedef volatile unsigned char	vu_char;
 #ifdef CONFIG_BLACKFIN
 #include <asm/blackfin.h>
 #endif
-#ifdef CONFIG_STATUS_LED
-#include <status_led.h>
-#endif
 
 #include <part.h>
 #include <flash.h>
@@ -684,6 +681,9 @@ int	fgetc(int file);
 
 int	pcmcia_init (void);
 
+#ifdef CONFIG_STATUS_LED
+# include <status_led.h>
+#endif
 /*
  * Board-specific Platform code can reimplement show_boot_progress () if needed
  */
Signature · 1 line
1.6.0.6