* [PATCH] board: xilinx: Add missing prototype for set_dfu_alt_info
@ 2025-01-02 4:50 Venkatesh Yadav Abbarapu
2025-01-06 8:31 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Venkatesh Yadav Abbarapu @ 2025-01-02 4:50 UTC (permalink / raw)
To: u-boot; +Cc: michal.simek, git
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>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] board: xilinx: Add missing prototype for set_dfu_alt_info
2025-01-02 4:50 [PATCH] board: xilinx: Add missing prototype for set_dfu_alt_info Venkatesh Yadav Abbarapu
@ 2025-01-06 8:31 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2025-01-06 8:31 UTC (permalink / raw)
To: Venkatesh Yadav Abbarapu, u-boot; +Cc: git
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 <venkatesh.abbarapu@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 */
You should include <dfu.h> instead.
M
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-06 8:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-02 4:50 [PATCH] board: xilinx: Add missing prototype for set_dfu_alt_info Venkatesh Yadav Abbarapu
2025-01-06 8:31 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox