[PATCH] imx8mm_evk: Include sys_proto.h header

Alifer Moraes alifer.wsdm at gmail.com
Tue Jan 14 15:22:57 CET 2020


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 <alifer.wsdm at gmail.com>
---
 board/freescale/imx8mm_evk/imx8mm_evk.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/freescale/imx8mm_evk/imx8mm_evk.c b/board/freescale/imx8mm_evk/imx8mm_evk.c
index a0af550f5e..c5fd940eeb 100644
--- a/board/freescale/imx8mm_evk/imx8mm_evk.c
+++ b/board/freescale/imx8mm_evk/imx8mm_evk.c
@@ -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;
-- 
2.17.1



More information about the U-Boot mailing list