summaryrefslogtreecommitdiff
path: root/board/advantech
diff options
context:
space:
mode:
authorDiego Dorta <diego.dorta@nxp.com>2017-09-22 12:12:18 -0300
committerStefano Babic <sbabic@denx.de>2017-10-12 17:31:16 +0200
commit7594c51ae60296b21f90052d060d4d1330a507a6 (patch)
treeef68404e6a80892202fc7eac3f53f1815e3f664f /board/advantech
parent54ba3838737be45b8e6b0f41745ebdf088d08283 (diff)
downloadu-boot-7594c51ae60296b21f90052d060d4d1330a507a6.tar.gz
u-boot-7594c51ae60296b21f90052d060d4d1330a507a6.tar.bz2
u-boot-7594c51ae60296b21f90052d060d4d1330a507a6.zip
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')
-rw-r--r--board/advantech/dms-ba16/dms-ba16.c1
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;