[PATCH] smbios: address build warning
Peng Fan (OSS)
peng.fan at oss.nxp.com
Tue Dec 3 14:42:57 CET 2024
From: Peng Fan <peng.fan at nxp.com>
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 at nxp.com>
---
lib/smbios.c | 1 +
1 file changed, 1 insertion(+)
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>
--
2.35.3
More information about the U-Boot
mailing list