]> git.baikalelectronics.ru Git - uboot.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)
committerStefano Babic <sbabic@denx.de>
Thu, 12 Oct 2017 15:31:16 +0000 (17:31 +0200)
commit6789acd7e02a1940987dbcc75414f527718a58f8
treec8c8064c06c64eeecca6c7de6d090fa8fbf367a9
parent8be46f710a44bb43e0b414ed69ac5a46a0cf5537
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>
arch/arm/include/asm/mach-imx/sys_proto.h