[Uboot-stm32] [PATCH] mtd: add prototypes for weak function
Tom Rini
trini at konsulko.com
Sat Jan 25 17:10:40 UTC 2020
On Fri, Jan 24, 2020 at 01:45:56PM +0100, Patrick Delaunay wrote:
> This patch adds a prototype for the weak function
> board_mtdparts_default().
>
> It solves one warning when compiling with W=1 on stm32mp1 board:
>
> board/st/stm32mp1/stm32mp1.c:
> warning: no previous prototype for 'board_mtdparts_default'
> [-Wmissing-prototypes]
> void board_mtdparts_default(const char **mtdids,
> const char **mtdparts)
> ^~~~~~~~~~~~~~~~~~~~~~
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://st-md-mailman.stormreply.com/pipermail/uboot-stm32/attachments/20200125/f7859725/attachment.sig>
More information about the Uboot-stm32
mailing list