]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
version: Do not make version_string[] variable as a weak
authorPali Rohár <pali@kernel.org>
Mon, 2 Aug 2021 13:18:35 +0000 (15:18 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 17 Sep 2021 16:10:44 +0000 (12:10 -0400)
There is no platform which needs to overload version_string[] variable, so
remove weak symbol mark.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
cmd/version.c

index 965ac2e2144d25558d8b2705f33d11e68cb5f0fb..2f9b8986554b8c99d65605e8a397968462f757dc 100644 (file)
@@ -13,7 +13,7 @@
 #include <asm/cb_sysinfo.h>
 #endif
 
-const char __weak version_string[] = U_BOOT_VERSION_STRING;
+const char version_string[] = U_BOOT_VERSION_STRING;
 
 static int do_version(struct cmd_tbl *cmdtp, int flag, int argc,
                      char *const argv[])