summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-07-27 09:58:14 +0200
committerWolfgang Denk <wd@denx.de>2009-07-27 09:58:14 +0200
commitfb364bec5f29164d3ee681fcd9d187be8435db12 (patch)
tree9b5ae48ce2dadb79ba212b9c8d13102c6ac42054 /include/common.h
parent942828a0980b3cea7db698784cc7f6a3e7740b2b (diff)
downloadbootable_bootloader_goldelico_gta04-fb364bec5f29164d3ee681fcd9d187be8435db12.zip
bootable_bootloader_goldelico_gta04-fb364bec5f29164d3ee681fcd9d187be8435db12.tar.gz
bootable_bootloader_goldelico_gta04-fb364bec5f29164d3ee681fcd9d187be8435db12.tar.bz2
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. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/common.h b/include/common.h
index ee174bb..a6922fd 100644
--- a/include/common.h
+++ b/include/common.h
@@ -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
*/