
6 Jan
2025
6 Jan
'25
10:06 a.m.
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@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