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>
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 @@ #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 pcmcia_init (void); +#ifdef CONFIG_STATUS_LED +# include <status_led.h> +#endif /* * Board-specific Platform code can reimplement show_boot_progress () if needed */