On 1/2/25 05:50, Venkatesh Yadav Abbarapu wrote:
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 <[email protected]>
---
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 */
You should include <dfu.h> instead.
M