commit | 4a10f562c61f873371d6dbc438292e009d5cb316 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Fri Jan 24 13:45:56 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sat Jan 25 12:04:36 2020 -0500 |
tree | d862bd67736079799b474d876f38b75032ade5b6 | |
parent | 44ea1d40aef759dfd55f1527046f14d07f9233be [diff] |
mtd: add prototypes for weak function 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@st.com>