[PATCH] board: xilinx: Add missing prototype for set_dfu_alt_info
Venkatesh Yadav Abbarapu
venkatesh.abbarapu at amd.com
Thu Jan 2 05:50:26 CET 2025
Add missing prototype to fix the sparse warning,
warning: no previous prototype for 'set_dfu_alt_info'
[-Wmissing-prototypes].
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>
---
board/xilinx/common/board.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/xilinx/common/board.h b/board/xilinx/common/board.h
index 64d657673e..ff8f9b9596 100644
--- a/board/xilinx/common/board.h
+++ b/board/xilinx/common/board.h
@@ -18,4 +18,6 @@ bool board_detection(void);
char *soc_name_decode(void);
bool soc_detection(void);
+
+void set_dfu_alt_info(char *interface, char *devstr);
#endif /* BOARD_XILINX_COMMON_BOARD_H */
--
2.25.1
More information about the U-Boot
mailing list