[U-Boot] [PATCH 12/20] misc: stm32_fuse: Fix warnings when compiling with W=1

Patrick DELAUNAY patrick.delaunay at st.com
Fri Jul 12 14:01:20 UTC 2019


Hi,

> From: Patrick DELAUNAY <patrick.delaunay at st.com>
> Sent: vendredi 21 juin 2019 15:27
> 
> This patch solves the following warnings:
> 
> warning: no previous prototype for 'fuse_read' [-Wmissing-prototypes]  int
> fuse_read(u32 bank, u32 word, u32 *val)
>      ^~~~~~~~~
>   CC      cmd/sf.o
> warning: no previous prototype for 'fuse_prog' [-Wmissing-prototypes]  int
> fuse_prog(u32 bank, u32 word, u32 val)
>      ^~~~~~~~~
> warning: no previous prototype for 'fuse_sense' [-Wmissing-prototypes]  int
> fuse_sense(u32 bank, u32 word, u32 *val)
>      ^~~~~~~~~~
> warning: no previous prototype for 'fuse_override' [-Wmissing-prototypes]  int
> fuse_override(u32 bank, u32 word, u32 val)
>      ^~~~~~~~~~~~~
> 
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
> 
>  drivers/misc/stm32mp_fuse.c | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied to u-boot-stm32/master, thanks!

Patrick


More information about the U-Boot mailing list