diff mbox series

imx8qxp_mek: Include fdt_support.h header

Message ID 20200116154309.10666-1-alifer.wsdm@gmail.com
State Accepted
Commit 09f0c5069066a8332e419c5f5052c2900819eb47
Delegated to: Stefano Babic
Headers show
Series imx8qxp_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/imx8qxp_mek/imx8qxp_mek.c:129:5: warning: no previous
prototype for ‘ft_board_setup’ [-Wmissing-prototypes]

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

Comments

Stefano Babic Jan. 20, 2020, 8:18 p.m. UTC | #1
> Include fdt_support.h header file to fix the following sparse warning:
> board/freescale/imx8qxp_mek/imx8qxp_mek.c:129:5: warning: no previous
> prototype for ‘ft_board_setup’ [-Wmissing-prototypes]
> Signed-off-by: Alifer Moraes <alifer.wsdm@gmail.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/board/freescale/imx8qxp_mek/imx8qxp_mek.c b/board/freescale/imx8qxp_mek/imx8qxp_mek.c
index 194eb60cd3..8e731ec32e 100644
--- a/board/freescale/imx8qxp_mek/imx8qxp_mek.c
+++ b/board/freescale/imx8qxp_mek/imx8qxp_mek.c
@@ -9,6 +9,7 @@ 
 #include <init.h>
 #include <linux/libfdt.h>
 #include <fsl_esdhc_imx.h>
+#include <fdt_support.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
 #include <asm/arch/clock.h>