mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
dfu: add prototype for dfu_transaction_initiate/cleanup
Add prototype for function dfu_transaction_initiate and dfu_transaction_cleanup to avoid warning with W=1. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
This commit is contained in:
parent
bcd677f246
commit
5cf39720af
1 changed files with 3 additions and 0 deletions
|
@ -209,6 +209,9 @@ void dfu_initiated_callback(struct dfu_entity *dfu);
|
|||
*/
|
||||
void dfu_flush_callback(struct dfu_entity *dfu);
|
||||
|
||||
int dfu_transaction_initiate(struct dfu_entity *dfu, bool read);
|
||||
void dfu_transaction_cleanup(struct dfu_entity *dfu);
|
||||
|
||||
/*
|
||||
* dfu_defer_flush - pointer to store dfu_entity for deferred flashing.
|
||||
* It should be NULL when not used.
|
||||
|
|
Loading…
Reference in a new issue