From: Tom Rini Date: Sat, 25 Jan 2020 12:10:40 -0500 Subject: [PATCH] mtd: add prototypes for weak function In-Reply-To: <20200124124556.2563-1-patrick.delaunay@st.com> References: <20200124124556.2563-1-patrick.delaunay@st.com> Message-ID: <20200125171040.GV26536@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: