Skip to content
Snippets Groups Projects
Commit 9f272573 authored by Diego Dorta's avatar Diego Dorta Committed by Stefano Babic
Browse files

imx: sys_proto: Add a prototype for board_mmc_get_env_dev()


When compiling with W=1 the following warning is observed:

board/freescale/mx6sabresd/mx6sabresd.c:266:5: warning:
no previous prototype for ‘board_mmc_get_env_dev’
[-Wmissing-prototypes] int board_mmc_get_env_dev(int devno)

Remove this warning by adding the function prototype into sys_proto.h file.

Signed-off-by: default avatarDiego Dorta <diego.dorta@nxp.com>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
parent 7594c51a
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,8 @@ void init_aips(void); ...@@ -107,6 +107,8 @@ void init_aips(void);
void init_src(void); void init_src(void);
void imx_set_wdog_powerdown(bool enable); void imx_set_wdog_powerdown(bool enable);
int board_mmc_get_env_dev(int devno);
/* /*
* Initializes on-chip ethernet controllers. * Initializes on-chip ethernet controllers.
* to override, implement board_eth_init() * to override, implement board_eth_init()
......
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