[U-Boot] [PATCH] linkstation: fix warning: "CONFIG_IDENT_STRING" redefined

Wolfgang Denk wd at denx.de
Sun Jul 31 12:35:13 CEST 2011


Commit 09c2e90 "unify version_string" defines a default value for
CONFIG_IDENT_STRING in version.h, so any private settings musty be
done before including this file.  Move the include for version.h after
the one for common.h to fix the build problem.

Signed-off-by: Wolfgang Denk <wd at denx.de>
Cc: Guennadi Liakhovetski <g.liakhovetski at gmx.de>
---
 board/linkstation/linkstation.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/linkstation/linkstation.c b/board/linkstation/linkstation.c
index e564e50..7640856 100644
--- a/board/linkstation/linkstation.c
+++ b/board/linkstation/linkstation.c
@@ -21,8 +21,8 @@
  * MA 02111-1307 USA
  */
 
-#include <version.h>
 #include <common.h>
+#include <version.h>
 #include <mpc824x.h>
 #include <asm/io.h>
 #include <ns16550.h>
-- 
1.7.6



More information about the U-Boot mailing list