Re: [PATCH] mtd: add prototypes for weak function

2020-01-25 Thread Tom Rini
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 'boar

[PATCH] mtd: add prototypes for weak function

2020-01-24 Thread Patrick Delaunay
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