smbios: address build warning
authorPeng Fan <peng.fan@nxp.com>
Tue, 3 Dec 2024 13:42:57 +0000 (21:42 +0800)
committerTom Rini <trini@konsulko.com>
Sun, 15 Dec 2024 17:41:32 +0000 (11:41 -0600)
commit3b3c7280b82b1f08807a070ac066cd02919dfde1
treece07a9818180e97efc0d9a233b1c36d99b91bff6
parentd87414be80a0cf4aaa7a73bbbab3bcc503e6ca11
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>
lib/smbios.c