public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] imx8mm_evk: Include sys_proto.h header
@ 2020-01-14 14:22 Alifer Moraes
  2020-01-20 20:17 ` sbabic at denx.de
  0 siblings, 1 reply; 2+ messages in thread
From: Alifer Moraes @ 2020-01-14 14:22 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] imx8mm_evk: Include sys_proto.h header
  2020-01-14 14:22 [PATCH] imx8mm_evk: Include sys_proto.h header Alifer Moraes
@ 2020-01-20 20:17 ` sbabic at denx.de
  0 siblings, 0 replies; 2+ messages in thread
From: sbabic at denx.de @ 2020-01-20 20:17 UTC (permalink / raw)
  To: u-boot

> 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@gmail.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-20 20:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-14 14:22 [PATCH] imx8mm_evk: Include sys_proto.h header Alifer Moraes
2020-01-20 20:17 ` sbabic at denx.de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox