Skip to contentSkip to conversation

imx8mm_evk: Include sys_proto.h header

PATCH New Alifer Moraes 2 participants 2 messages Jan 14, 2020 – Jan 20, 2020 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

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]

---
 board/freescale/imx8mm_evk/imx8mm_evk.c | 1 +
 1 file changed, 1 insertion(+)
board/freescale/imx8mm_evk/imx8mm_evk.c +1 -0
index a0af550f5e..c5fd940eeb 100644
@@ -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
#1 lore raw

PATCH 1/1 imx8mm_evk: Include sys_proto.h header

Quoted 4 lines

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]

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
=====================================================================