[PATCH] mtd: add prototypes for weak function
Tom Rini
trini at konsulko.com
Sat Jan 25 18:10:40 CET 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: <https://lists.denx.de/pipermail/u-boot/attachments/20200125/f7859725/attachment.sig>
More information about the U-Boot
mailing list