From fb737f1ed86c87a64e6626975cf51dd70a405cd2 Mon Sep 17 00:00:00 2001 From: Algapally Santosh Sagar Date: Thu, 19 Jan 2023 22:36:14 -0700 Subject: [PATCH] xilinx: common: Include header file to fix warning Prototype is missing for board_get_usable_ram_top, which is pointed by below sparse warning. Include init.h header file to fix this. warning: no previous prototype for 'board_get_usable_ram_top' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma Link: https://lore.kernel.org/r/20230120053617.32463-2-ashok.reddy.soma@amd.com Signed-off-by: Michal Simek --- board/xilinx/common/board.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c index 823d703ea9..52a38147ed 100644 --- a/board/xilinx/common/board.c +++ b/board/xilinx/common/board.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include -- 2.39.5