Fix include/common.h for boards with CONFIG_STATUS_LED
authorWolfgang Denk <wd@denx.de>
Mon, 27 Jul 2009 07:58:14 +0000 (09:58 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 27 Jul 2009 07:58:14 +0000 (09:58 +0200)
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.

Signed-off-by: Wolfgang Denk <wd@denx.de>
include/common.h

index ee174bb2ad8b13b65fb38b257cc658ae91e252c1..a6922fd78148b1fcc96e0965fffa9e42ecb3a2d9 100644 (file)
@@ -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
  */