From 85f3df1c3a6e8f8f0c7a1daa0cdc3714daf967d7 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 28 Jul 2011 22:14:26 +0200 Subject: [PATCH] Fix build error causes by "unify version_string" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 09c2e90 "unify version_string" introduced a build error, fix it. Signed-off-by: Andreas Bießmann Signed-off-by: Wolfgang Denk --- include/version.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/version.h b/include/version.h index ec4e1f808d..129acef0b8 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__ */