From: Wolfgang Denk Date: Thu, 28 Jul 2011 20:14:26 +0000 (+0200) Subject: Fix build error causes by "unify version_string" X-Git-Tag: v2011.09-rc1~111 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=85f3df1c3a6e8f8f0c7a1daa0cdc3714daf967d7;p=u-boot 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 Signed-off-by: Wolfgang Denk --- 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__ */