[U-Boot] [PATCH 26/32] drivers/input/input.c: sparse fix

Kim Phillips
2012-10-17T00:28:42Z

input.c:97:5: warning: symbol 'input_queue_ascii' was not declared. Should it be

TODO: fix:

input.c:236:18: error: bad constant expression
input.c:344:17: error: bad constant expression

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
---
drivers/input/input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/input.c b/drivers/input/input.c
index 5b2b4b0..5a4c76d 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -94,7 +94,7 @@ static unsigned char kbd_ctrl_xlate[] = {
};

-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)
--
1.7.12.3