[PATCH v2] board: xilinx: Add missing prototype for set_dfu_alt_info
Venkatesh Yadav Abbarapu
venkatesh.abbarapu at amd.com
Mon Jan 6 10:06:30 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>
---
Changes in v2:
- Include dfu.h and remove the set_dfu_alt_info declaration from board.h.
---
board/xilinx/versal/board.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/xilinx/versal/board.c b/board/xilinx/versal/board.c
index fd5c6ced79..c0477e6574 100644
--- a/board/xilinx/versal/board.c
+++ b/board/xilinx/versal/board.c
@@ -6,6 +6,7 @@
#include <command.h>
#include <cpu_func.h>
+#include <dfu.h>
#include <env.h>
#include <fdtdec.h>
#include <init.h>
--
2.34.1
More information about the U-Boot
mailing list