]> code.ossystems Code Review - bsp/u-boot.git/commit
imx: sys_proto: Add a prototype for board_mmc_get_env_dev()
authorDiego Dorta <diego.dorta@nxp.com>
Thu, 21 Sep 2017 18:10:03 +0000 (15:10 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 2 Oct 2017 17:31:32 +0000 (14:31 -0300)
commit96fd173ca14e023689f072291737faa89e42bb87
treeb733b78e36b4a62e95974efb6f04c6fd910ff0fe
parente6e4db44738bab1a7b0911f811d89a43648b6518
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: Diego Dorta <diego.dorta@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
(cherry picked from commit 18b61c4e3e312711169a9b36b26630dac34ae8f5)
arch/arm/include/asm/mach-imx/sys_proto.h