From: Wolfgang Denk Date: Mon, 27 Jul 2009 07:58:14 +0000 (+0200) Subject: Fix include/common.h for boards with CONFIG_STATUS_LED X-Git-Tag: v2009.08-rc1~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb364bec5f29164d3ee681fcd9d187be8435db12;p=platform%2Fkernel%2Fu-boot.git 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 --- 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 */