]> git.sur5r.net Git - u-boot/commitdiff
imx: Include <input.h> header file
authorDiego Dorta <diego.dorta@nxp.com>
Fri, 22 Sep 2017 15:12:18 +0000 (12:12 -0300)
committerStefano Babic <sbabic@denx.de>
Thu, 12 Oct 2017 15:31:16 +0000 (17:31 +0200)
When building with W=1 errors like the one below is seen:

board/freescale/mx6sabresd/mx6sabresd.c:546:5: warning:
no previous prototype for ‘overwrite_console’
[-Wmissing-prototypes] int overwrite_console(void)

Fix the build warnings by including <input.h>.

Signed-off-by: Diego Dorta <diego.dorta@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
15 files changed:
board/advantech/dms-ba16/dms-ba16.c
board/aristainetos/aristainetos.c
board/beckhoff/mx53cx9020/mx53cx9020.c
board/congatec/cgtqmx6eval/cgtqmx6eval.c
board/el/el6x/el6x.c
board/embest/mx6boards/mx6boards.c
board/freescale/mx51evk/mx51evk.c
board/freescale/mx53loco/mx53loco.c
board/freescale/mx6sabreauto/mx6sabreauto.c
board/freescale/mx6sabresd/mx6sabresd.c
board/ge/bx50v3/bx50v3.c
board/logicpd/imx6/imx6logic.c
board/technologic/ts4800/ts4800.c
board/toradex/apalis_imx6/apalis_imx6.c
board/toradex/colibri_imx6/colibri_imx6.c

index c72894357c0ba178ba8b4ad1d1a919022d39f2e7..6fe74714cc603fa8de52b590a5054f707aaf448c 100644 (file)
@@ -25,6 +25,7 @@
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <i2c.h>
+#include <input.h>
 #include <pwm.h>
 DECLARE_GLOBAL_DATA_PTR;
 
index 872fedd2908ba62e62818324fc58afca38dfc139..a60cbfca851e3cec7a1e167a6af77421992ef751 100644 (file)
@@ -28,6 +28,7 @@
 #include <asm/arch/crm_regs.h>
 #include <linux/fb.h>
 #include <ipu_pixfmt.h>
+#include <input.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <pwm.h>
index a18a4e8ac5ca6aceed1220651286c222972417c0..021bd967c457d31d9916a416fb77fc3e6833a16f 100644 (file)
@@ -26,6 +26,7 @@
 #include <asm/gpio.h>
 #include <linux/fb.h>
 #include <ipu_pixfmt.h>
+#include <input.h>
 #include <fs.h>
 #include <dm/platform_data/serial_mxc.h>
 
index d42cc941d6b1bff7af47c1744c2c62bab576b50e..f982839e7c88c8cb6388a6f172ff3e3f31ebdd1e 100644 (file)
@@ -24,6 +24,7 @@
 #include <mmc.h>
 #include <fsl_esdhc.h>
 #include <i2c.h>
+#include <input.h>
 #include <power/pmic.h>
 #include <power/pfuze100_pmic.h>
 #include <linux/fb.h>
index fb128f5d4cb85b03f295d54bb5baab53d8be9521..b2fe7fd291eada938dfbf7e11aaf6677c56ab78f 100644 (file)
@@ -25,6 +25,7 @@
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <i2c.h>
+#include <input.h>
 #include <power/pmic.h>
 #include <power/pfuze100_pmic.h>
 #include <asm/arch/mx6-ddr.h>
index 867459909df8fa0fda4ee943e8afb2cdeabeab2b..ae04f68445c9171601274405f96f0a519b3d4040 100644 (file)
@@ -26,6 +26,7 @@
 #include <asm/mach-imx/spi.h>
 #include <asm/mach-imx/video.h>
 #include <i2c.h>
+#include <input.h>
 #include <mmc.h>
 #include <fsl_esdhc.h>
 #include <miiphy.h>
index a88ff8fe132f7dd7f08635a4f44ea95dc40f88ec..9e8a02efe61683f19dfa7d8a0bb1516668fd4792 100644 (file)
@@ -15,6 +15,7 @@
 #include <asm/arch/clock.h>
 #include <asm/mach-imx/mx5_video.h>
 #include <i2c.h>
+#include <input.h>
 #include <mmc.h>
 #include <fsl_esdhc.h>
 #include <power/pmic.h>
index ea3660368603bbc0cf1be49a4564db8ab00a8bc3..db0e2fbdd6d0ceca0c784c4bb5c1daffd76c443a 100644 (file)
@@ -17,6 +17,7 @@
 #include <asm/mach-imx/mx5_video.h>
 #include <netdev.h>
 #include <i2c.h>
+#include <input.h>
 #include <mmc.h>
 #include <fsl_esdhc.h>
 #include <asm/gpio.h>
index 15ca0294f5051bd1bf479a082342f70d7c550984..bdeb5f7667343622116d4100f6baac8d3454971e 100644 (file)
@@ -24,6 +24,7 @@
 #include <netdev.h>
 #include <asm/arch/sys_proto.h>
 #include <i2c.h>
+#include <input.h>
 #include <asm/arch/mxc_hdmi.h>
 #include <asm/mach-imx/video.h>
 #include <asm/arch/crm_regs.h>
index f14b75927cabae9f2a61e674f3db0344ea0a8ecc..6cc228ab46065d7b833b09e6cfbbdb2a5df0b360 100644 (file)
@@ -25,6 +25,7 @@
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <i2c.h>
+#include <input.h>
 #include <power/pmic.h>
 #include <power/pfuze100_pmic.h>
 #include "../common/pfuze.h"
index c7df4ce84702ba3d7ea1d6a10545b04c6239b02e..2e8f394eaf95bebd95a25a53efc10e31d69e9a4d 100644 (file)
@@ -25,6 +25,7 @@
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <i2c.h>
+#include <input.h>
 #include <pwm.h>
 #include <stdlib.h>
 #include "vpd_reader.h"
index 78fc5466b692522afc41666bba6ce9b86a3c84ad..1f3e378ffc899f9f7f0a59c3656d81564229841b 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <common.h>
 #include <miiphy.h>
+#include <input.h>
 #include <mmc.h>
 #include <fsl_esdhc.h>
 #include <asm/io.h>
index 8fe26a75e82076c985df9273fec8074469c4acfd..e5bec57f4f21f1b8a0b4224fa98be09c30e4f2d3 100644 (file)
@@ -18,6 +18,7 @@
 #include <asm/arch/clock.h>
 #include <asm/mach-imx/mx5_video.h>
 #include <mmc.h>
+#include <input.h>
 #include <fsl_esdhc.h>
 #include <mc13892.h>
 
index b86dde8e6f8cdd7f7bb5b0e9af7ead88f3eb66ae..d68fdc83472389d0ebe2afa01311da711f1df27b 100644 (file)
@@ -30,6 +30,7 @@
 #include <dm/platdata.h>
 #include <fsl_esdhc.h>
 #include <i2c.h>
+#include <input.h>
 #include <imx_thermal.h>
 #include <linux/errno.h>
 #include <malloc.h>
index a2a421444b80c75c198748be8f86ce351a0024b3..2998a09238dc03031d8bfcc121038778d779488e 100644 (file)
@@ -29,6 +29,7 @@
 #include <dm/platdata.h>
 #include <fsl_esdhc.h>
 #include <i2c.h>
+#include <input.h>
 #include <imx_thermal.h>
 #include <linux/errno.h>
 #include <malloc.h>