diff options
author | Diego Dorta <diego.dorta@nxp.com> | 2017-09-22 18:12:18 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-10-12 18:31:16 +0300 |
commit | 7594c51ae60296b21f90052d060d4d1330a507a6 (patch) | |
tree | ef68404e6a80892202fc7eac3f53f1815e3f664f /board/toradex/apalis_imx6 | |
parent | 54ba3838737be45b8e6b0f41745ebdf088d08283 (diff) | |
download | u-boot-7594c51ae60296b21f90052d060d4d1330a507a6.tar.xz |
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/apalis_imx6')
-rw-r--r-- | board/toradex/apalis_imx6/apalis_imx6.c | 1 |
1 files changed, 1 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> |