diff options
author | Simon Glass <sjg@chromium.org> | 2015-11-09 06:47:45 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-11-20 03:27:50 (GMT) |
commit | 24b852a7a2b8eca71789100983bdb5104cc00696 (patch) | |
tree | af9a9ed81d30180f9a9286ed504895c216e80229 /drivers/input | |
parent | 3884c98c32cd5fb5b5b42185d5d0575659434bbf (diff) | |
download | u-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.c | 1 | ||||
-rw-r--r-- | drivers/input/keyboard.c | 3 |
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> |