diff mbox series

[v2,6/6] xilinx: zynq: Add the missing function prototypes

Message ID 20230614090359.10809-7-ashok.reddy.soma@amd.com
State Accepted
Commit 340760ec0ffbe06c3dc1388ee605e031a11ff042
Delegated to: Michal Simek
Headers show
Series Fix sparse warnings in zynq platform | expand

Commit Message

Ashok Reddy Soma June 14, 2023, 9:03 a.m. UTC
From: Algapally Santosh Sagar <santoshsagar.algapally@amd.com>

Add the missing prototypes for the functions pointed by the below
sparse warnings
warning: no previous prototype for 'set_dfu_alt_info'
[-Wmissing-prototypes]
warning: no previous prototype for 'board_debug_uart_init'
[-Wmissing-prototypes]

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

(no changes since v1)

 board/xilinx/zynq/board.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c
index 9a59445b44..3b6581e304 100644
--- a/board/xilinx/zynq/board.c
+++ b/board/xilinx/zynq/board.c
@@ -5,6 +5,8 @@ 
  */
 
 #include <common.h>
+#include <debug_uart.h>
+#include <dfu.h>
 #include <init.h>
 #include <log.h>
 #include <dm/uclass.h>