diff mbox series

[v2,3/4] xilinx: versal: Add missing header

Message ID 20230120053617.32463-4-ashok.reddy.soma@amd.com
State Accepted
Commit 1d15612b99ad102cce8279bc31e9417cca95a7a4
Delegated to: Michal Simek
Headers show
Series Fix sparse warnings | expand

Commit Message

Ashok Reddy Soma Jan. 20, 2023, 5:36 a.m. UTC
From: Algapally Santosh Sagar <santoshsagar.algapally@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@amd.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
---

Changes in v2:
 - Changed subject from missing prototype to missing header
 - Moved include file in alphabetical order

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

Patch

diff --git a/board/xilinx/versal/board.c b/board/xilinx/versal/board.c
index f9f5457ed2..4cdc2ecd1d 100644
--- a/board/xilinx/versal/board.c
+++ b/board/xilinx/versal/board.c
@@ -4,6 +4,7 @@ 
  * Michal Simek <michal.simek@xilinx.com>
  */
 
+#include <command.h>
 #include <common.h>
 #include <cpu_func.h>
 #include <env.h>