diff options
author | Peng Fan <peng.fan@nxp.com> | 2024-12-03 21:42:57 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-12-15 11:41:32 -0600 |
commit | 3b3c7280b82b1f08807a070ac066cd02919dfde1 (patch) | |
tree | ce07a9818180e97efc0d9a233b1c36d99b91bff6 /lib/smbios.c | |
parent | d87414be80a0cf4aaa7a73bbbab3bcc503e6ca11 (diff) |
smbios: address build warning
include display_options.h to address build warning:
lib/smbios.c: In function ‘smbios_update_version’:
lib/smbios.c:305:9: warning: implicit declaration of function ‘print_buffer’
[-Wimplicit-function-declaration]
print_buffer((ulong)ptr, ptr, 1, old_len + 1, 0);
^~~~~~~~~~~~
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'lib/smbios.c')
-rw-r--r-- | lib/smbios.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/smbios.c b/lib/smbios.c index a36d4b4e54a..defb6b42f45 100644 --- a/lib/smbios.c +++ b/lib/smbios.c @@ -7,6 +7,7 @@ #define LOG_CATEGORY LOGC_BOARD +#include <display_options.h> #include <dm.h> #include <env.h> #include <linux/stringify.h> |