Message ID | 20210802131838.21097-9-pali@kernel.org |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
Series | Reduce usage of timestamp macros | expand |
On Mon, Aug 02, 2021 at 03:18:35PM +0200, Pali Rohár wrote: > 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>
On Mon, Aug 02, 2021 at 03:18:35PM +0200, Pali Rohár wrote: > 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> Applied to u-boot/next, thanks!
diff --git a/cmd/version.c b/cmd/version.c index ad632fe4fb7a..38a26552a148 100644 --- a/cmd/version.c +++ b/cmd/version.c @@ -13,7 +13,7 @@ #include <asm/cb_sysinfo.h> #endif -const char __weak version_string[] __section(".text_version_string") = U_BOOT_VERSION_STRING; +const char version_string[] __section(".text_version_string") = U_BOOT_VERSION_STRING; static int do_version(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
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> --- cmd/version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)