summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-11-09 06:47:45 (GMT)
committerSimon Glass <sjg@chromium.org>2015-11-20 03:27:50 (GMT)
commit24b852a7a2b8eca71789100983bdb5104cc00696 (patch)
treeaf9a9ed81d30180f9a9286ed504895c216e80229 /drivers/input
parent3884c98c32cd5fb5b5b42185d5d0575659434bbf (diff)
downloadu-boot-24b852a7a2b8eca71789100983bdb5104cc00696.tar.xz
Move console definitions into a new console.h file
The console includes a global variable and several functions that are only used by a small subset of U-Boot files. Before adding more functions, move the definitions into their own header file. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/input.c1
-rw-r--r--drivers/input/keyboard.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c
index a39db3c..011667f 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -8,6 +8,7 @@
*/
#include <common.h>
+#include <console.h>
#include <dm.h>
#include <errno.h>
#include <stdio_dev.h>
diff --git a/drivers/input/keyboard.c b/drivers/input/keyboard.c
index 71546cb..48255bd 100644
--- a/drivers/input/keyboard.c
+++ b/drivers/input/keyboard.c
@@ -9,7 +9,10 @@
***********************************************************************/
#include <common.h>
+#include <console.h>
#include <input.h>
+
+#include <stdio_dev.h>
#include <keyboard.h>
#include <stdio_dev.h>