diff options
author | Diego Dorta <diego.dorta@nxp.com> | 2017-09-22 12:12:18 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-10-12 17:31:16 +0200 |
commit | 7594c51ae60296b21f90052d060d4d1330a507a6 (patch) | |
tree | ef68404e6a80892202fc7eac3f53f1815e3f664f /board/toradex | |
parent | 54ba3838737be45b8e6b0f41745ebdf088d08283 (diff) | |
download | u-boot-7594c51ae60296b21f90052d060d4d1330a507a6.tar.gz |
imx: Include <input.h> header file
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>
Diffstat (limited to 'board/toradex')
-rw-r--r-- | board/toradex/apalis_imx6/apalis_imx6.c | 1 | ||||
-rw-r--r-- | board/toradex/colibri_imx6/colibri_imx6.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index b86dde8e6f..d68fdc8347 100644 --- a/board/toradex/apalis_imx6/apalis_imx6.c +++ b/board/toradex/apalis_imx6/apalis_imx6.c @@ -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> diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index a2a421444b..2998a09238 100644 --- a/board/toradex/colibri_imx6/colibri_imx6.c +++ b/board/toradex/colibri_imx6/colibri_imx6.c @@ -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> |