Skip to content
Snippets Groups Projects
Commit 683b7c2a authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

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: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent 50fe8df2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment