From faf6a286f1329e398083a85e59c26fccc943c47d Mon Sep 17 00:00:00 2001 From: Venkatesh Yadav Abbarapu Date: Tue, 4 Oct 2022 11:20:53 +0530 Subject: [PATCH] xilinx: common: Add print_cpuinfo() declaration cpu-info.c defines print_cpuinfo(), but neglected to include its declaration, causing the following sparse and compile time warnings: board/xilinx/common/cpu-info.c:10:5: warning: no previous prototype for 'print_cpuinfo' [-Wmissing-prototypes] Include init.h, which includes the missing declaration. Signed-off-by: Venkatesh Yadav Abbarapu Link: https://lore.kernel.org/r/20221004055053.26047-1-venkatesh.abbarapu@amd.com Signed-off-by: Michal Simek --- board/xilinx/common/cpu-info.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/xilinx/common/cpu-info.c b/board/xilinx/common/cpu-info.c index 4a863d00de..4eccc7abbe 100644 --- a/board/xilinx/common/cpu-info.c +++ b/board/xilinx/common/cpu-info.c @@ -5,6 +5,7 @@ */ #include +#include #include int print_cpuinfo(void) -- 2.39.5