board: xilinx: Add missing prototype for set_dfu_alt_info
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Mon, 6 Jan 2025 09:06:30 +0000 (14:36 +0530)
committerMichal Simek <michal.simek@amd.com>
Tue, 14 Jan 2025 07:29:46 +0000 (08:29 +0100)
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>
Link: https://lore.kernel.org/r/20250106090630.209938-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
board/xilinx/versal/board.c

index cff810e..b4483d0 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <command.h>
 #include <cpu_func.h>
+#include <dfu.h>
 #include <env.h>
 #include <fdtdec.h>
 #include <init.h>