From a952e9ca78703a70f2b9edacc032c922daeff715 Mon Sep 17 00:00:00 2001 From: Bowen Wang Date: Wed, 28 Feb 2024 19:10:00 +0800 Subject: [PATCH] arm/qemu_boot: fix the rpmsg syslog init warning chip/qemu_boot.c:84:3: warning: implicit declaration of function 'syslog_rpmsg_init_early' [-Wimplicit-function-declaration] 84 | syslog_rpmsg_init_early(g_syslog_rpmsg_buf, sizeof(g_syslog_rpmsg_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Bowen Wang Signed-off-by: ligd --- arch/arm/src/qemu/qemu_boot.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/src/qemu/qemu_boot.c b/arch/arm/src/qemu/qemu_boot.c index 87d72055126..027fb8392ed 100644 --- a/arch/arm/src/qemu/qemu_boot.c +++ b/arch/arm/src/qemu/qemu_boot.c @@ -36,6 +36,12 @@ # include #endif +#include + +/**************************************************************************** + * Private Data + ****************************************************************************/ + #ifdef CONFIG_SYSLOG_RPMSG static char g_syslog_rpmsg_buf[4096]; #endif