]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Fix build error causes by "unify version_string"
authorWolfgang Denk <wd@denx.de>
Thu, 28 Jul 2011 20:14:26 +0000 (22:14 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 28 Jul 2011 20:16:57 +0000 (22:16 +0200)
Commit 09c2e90 "unify version_string" introduced a build error,
fix it.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
include/version.h

index ec4e1f808d518e749352eb30b6888322aefd182c..129acef0b8335f4d4376755ad2ad9910a8bc0004 100644 (file)
@@ -37,6 +37,7 @@
 #define U_BOOT_VERSION_STRING U_BOOT_VERSION " (" U_BOOT_DATE " - " \
        U_BOOT_TIME ")" CONFIG_IDENT_STRING
 
+#ifndef __ASSEMBLY__
 extern const char version_string[];
-
+#endif /* __ASSEMBLY__ */
 #endif /* __VERSION_H__ */