]> git.sur5r.net Git - u-boot/commitdiff
drivers/input/input.c: sparse fix
authorKim Phillips <kim.phillips@freescale.com>
Mon, 29 Oct 2012 13:34:42 +0000 (13:34 +0000)
committerTom Rini <trini@ti.com>
Sun, 4 Nov 2012 18:00:37 +0000 (11:00 -0700)
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>
drivers/input/input.c

index 98006679b30f28cb8b48f8a0ca6ef1d096925a38..04fa5f0bd200d2ce45f2a488561290bb21772862 100644 (file)
@@ -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)