[PATCH] imx8qm_mek: Include fdt_support.h header

Alifer Moraes alifer.wsdm at gmail.com
Thu Jan 16 16:43:07 CET 2020


Include fdt_support.h header file to fix the following sparse warning:

board/freescale/imx8qm_mek/imx8qm_mek.c:116:5: warning: no previous
prototype for ‘ft_board_setup’ [-Wmissing-prototypes]

Signed-off-by: Alifer Moraes <alifer.wsdm at gmail.com>
---
 board/freescale/imx8qm_mek/imx8qm_mek.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/freescale/imx8qm_mek/imx8qm_mek.c b/board/freescale/imx8qm_mek/imx8qm_mek.c
index 667a2743a6..139f416d1f 100644
--- a/board/freescale/imx8qm_mek/imx8qm_mek.c
+++ b/board/freescale/imx8qm_mek/imx8qm_mek.c
@@ -8,6 +8,7 @@
 #include <errno.h>
 #include <init.h>
 #include <linux/libfdt.h>
+#include <fdt_support.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
 #include <asm/arch/clock.h>
-- 
2.17.1



More information about the U-Boot mailing list