From: Wolfgang Denk Date: Mon, 27 Jul 2009 10:00:25 +0200 Subject: [U-Boot] [PATCH] Fix include/common.h for boards with CONFIG_STATUS_LED Message-ID: <1248681625-7782-1-git-send-email-wd@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- include/common.h | 6 +++--- 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 #endif -#ifdef CONFIG_STATUS_LED -#include -#endif #include #include @@ -684,6 +681,9 @@ int fgetc(int file); int pcmcia_init (void); +#ifdef CONFIG_STATUS_LED +# include +#endif /* * Board-specific Platform code can reimplement show_boot_progress () if needed */ -- 1.6.0.6