diff mbox series

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

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

Commit Message

Ashok Reddy Soma June 9, 2023, 9:22 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>
---

 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>