summaryrefslogtreecommitdiff
path: root/include/version.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-07-28 22:14:26 +0200
committerWolfgang Denk <wd@denx.de>2011-07-28 22:16:57 +0200
commit85f3df1c3a6e8f8f0c7a1daa0cdc3714daf967d7 (patch)
treea1a6e5a8d4e12cb41a2a8ce2f19296f3f2526fc2 /include/version.h
parent1103cf2f5c8f0712f6b64283a60c90f254a32345 (diff)
downloadu-boot-imx-85f3df1c3a6e8f8f0c7a1daa0cdc3714daf967d7.zip
u-boot-imx-85f3df1c3a6e8f8f0c7a1daa0cdc3714daf967d7.tar.gz
u-boot-imx-85f3df1c3a6e8f8f0c7a1daa0cdc3714daf967d7.tar.bz2
Fix build error causes by "unify version_string"
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>
Diffstat (limited to 'include/version.h')
-rw-r--r--include/version.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/version.h b/include/version.h
index ec4e1f8..129acef 100644
--- a/include/version.h
+++ b/include/version.h
@@ -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__ */