[U-Boot] [PATCH v2] imx: sys_proto: Add a prototype for board_mmc_get_env_dev()
Fabio Estevam
festevam at gmail.com
Thu Sep 21 18:17:37 UTC 2017
Hi Diego,
On Thu, Sep 21, 2017 at 3:10 PM, Diego Dorta <diego.dorta at nxp.com> wrote:
> 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: Diego Dorta <diego.dorta at nxp.com>
This looks better, thanks.
Reviewed-by: Fabio Estevam <fabio.estevam at nxp.com>
> ---
> Changes since v1:
> - Add 'mmc' prefix
Actually there is no mmc prefix ;-)
More information about the U-Boot
mailing list