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

Kim Phillips kim.phillips at freescale.com
Wed Oct 17 02:28:42 CEST 2012


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 at 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




More information about the U-Boot mailing list