imx8mm_evk: Include sys_proto.h header
PATCH 1/1 imx8mm_evk: Include sys_proto.h header
Add sys_proto.h header file to fix the following sparse warning:
board/freescale/imx8mm_evk/imx8mm_evk.c:59:5: warning: no previous prototype for ‘board_mmc_get_env_dev’ [-Wmissing-prototypes]
Signed-off-by Alifer Moraes <[email protected]>
--- board/freescale/imx8mm_evk/imx8mm_evk.c | 1 + 1 file changed, 1 insertion(+)
board/freescale/imx8mm_evk/imx8mm_evk.c +1 -0
@@ -8,6 +8,7 @@#include <netdev.h> #include <asm/arch/clock.h> +#include <asm/arch/sys_proto.h> #include <asm/io.h> DECLARE_GLOBAL_DATA_PTR ;
Signature · 1 line
2.17.1
PATCH 1/1 imx8mm_evk: Include sys_proto.h header
Quoted 4 lines
Add
sys_proto.hheader file to fix the following sparse warning:board/freescale/imx8mm_evk/imx8mm_evk.c:59:5: warning: no previous prototype for ‘board_mmc_get_env_dev’ [-Wmissing-prototypes]Signed-off-by Alifer Moraes <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================