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/advantech/dms-ba16 | |
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/advantech/dms-ba16')
-rw-r--r-- | board/advantech/dms-ba16/dms-ba16.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/advantech/dms-ba16/dms-ba16.c b/board/advantech/dms-ba16/dms-ba16.c index c72894357c..6fe74714cc 100644 --- a/board/advantech/dms-ba16/dms-ba16.c +++ b/board/advantech/dms-ba16/dms-ba16.c @@ -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; |