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>
This commit is contained in:
Peng Fan
2024-12-03 21:42:57 +08:00
committed by Tom Rini
parent d87414be80
commit 3b3c7280b8

View File

@@ -7,6 +7,7 @@
#define LOG_CATEGORY LOGC_BOARD #define LOG_CATEGORY LOGC_BOARD
#include <display_options.h>
#include <dm.h> #include <dm.h>
#include <env.h> #include <env.h>
#include <linux/stringify.h> #include <linux/stringify.h>