diff mbox series

imx8mm_evk: Include sys_proto.h header

Message ID 20200114142257.25499-1-alifer.wsdm@gmail.com
State Accepted
Commit 5255f85c6efb62ec962e216a6d908f800622d60e
Headers show
Series imx8mm_evk: Include sys_proto.h header | expand

Commit Message

Alifer Moraes Jan. 14, 2020, 2:22 p.m. UTC
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(+)

Comments

Stefano Babic Jan. 20, 2020, 8:17 p.m. UTC | #1
> 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>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

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;