From: Wolfgang Denk Date: Thu, 28 Jul 2011 20:14:26 +0000 (+0200) Subject: Fix build error causes by "unify version_string" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=85f3df1c3a6e8f8f0c7a1daa0cdc3714daf967d7;p=project%2Fbcm63xx%2Fu-boot.git 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__ */