]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
main: Correct header order
authorSimon Glass <sjg@chromium.org>
Wed, 15 May 2013 06:23:59 +0000 (06:23 +0000)
committerTom Rini <trini@ti.com>
Tue, 4 Jun 2013 20:06:31 +0000 (16:06 -0400)
The headers are a bit out of order, so fix them.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/main.c

index 1adfea69a1039ed34ef79ad2c2c7584d8106eaa2..e5173d7284130f70144eea55df2ec9777cde2728 100644 (file)
 /* #define     DEBUG   */
 
 #include <common.h>
-#include <watchdog.h>
 #include <command.h>
 #include <fdtdec.h>
-#include <malloc.h>
-#include <version.h>
-#ifdef CONFIG_MODEM_SUPPORT
-#include <malloc.h>            /* for free() prototype */
-#endif
-
-#ifdef CONFIG_SYS_HUSH_PARSER
 #include <hush.h>
-#endif
-
-#ifdef CONFIG_OF_CONTROL
-#include <fdtdec.h>
-#endif
-
+#include <malloc.h>
+#include <menu.h>
 #include <post.h>
+#include <version.h>
+#include <watchdog.h>
 #include <linux/ctype.h>
-#include <menu.h>
 
 DECLARE_GLOBAL_DATA_PTR;