[PATCH 3/4] xilinx: versal: Add missing prototype

Ashok Reddy Soma ashok.reddy.soma at amd.com
Fri Jan 6 13:00:34 CET 2023


From: Algapally Santosh Sagar <santoshsagar.algapally at amd.com>

Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'do_go_exec' [-Wmissing-prototypes].

Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally at amd.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma at amd.com>
---

 board/xilinx/versal/board.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/xilinx/versal/board.c b/board/xilinx/versal/board.c
index f9f5457ed2..d8562ce47a 100644
--- a/board/xilinx/versal/board.c
+++ b/board/xilinx/versal/board.c
@@ -22,6 +22,7 @@
 #include <dm/uclass.h>
 #include <versalpl.h>
 #include "../common/board.h"
+#include <command.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
-- 
2.17.1



More information about the U-Boot mailing list