summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2012-10-29 13:34:42 +0000
committerTom Rini <trini@ti.com>2012-11-04 11:00:37 -0700
commitc14e94e56064e35ab1b0107985b5f6dea298d5a9 (patch)
tree498d4428b06eae972e33611e1949c6d9b2c43e1e /drivers
parent8121d3c5ccc2cb552ddcf7eba7be5e1196232e1c (diff)
downloadu-boot-imx-c14e94e56064e35ab1b0107985b5f6dea298d5a9.zip
u-boot-imx-c14e94e56064e35ab1b0107985b5f6dea298d5a9.tar.gz
u-boot-imx-c14e94e56064e35ab1b0107985b5f6dea298d5a9.tar.bz2
drivers/input/input.c: sparse fix
input.c:97:5: warning: symbol 'input_queue_ascii' was not declared. Should it be Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c
index 9800667..04fa5f0 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -110,7 +110,7 @@ static struct {
/* Maximum number of output characters that an ANSI sequence expands to */
#define ANSI_CHAR_MAX 3
-int input_queue_ascii(struct input_config *config, int ch)
+static int input_queue_ascii(struct input_config *config, int ch)
{
if (config->fifo_in + 1 == INPUT_BUFFER_LEN) {
if (!config->fifo_out)