diff mbox series

imx8qm_mek: Include fdt_support.h header

Message ID 20200116154309.10666-2-alifer.wsdm@gmail.com
State Accepted
Commit c83c00ae675ca5815ca04d7cad411f4900efff5e
Headers show
Series imx8qm_mek: Include fdt_support.h header | expand

Commit Message

Alifer Moraes Jan. 16, 2020, 3:43 p.m. UTC
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(+)

Comments

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

Best regards,
Stefano Babic
diff mbox series

Patch

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>