From 66877b0f5fc96906d70f1264b3b8102d2156360f Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 18 Oct 2015 21:17:13 -0600 Subject: input: Add the keycode translation tables separately Require the caller to add the keycode translation tables separately so that it can select which ones to use. In a later patch we will add the option to add German tables. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- board/kosagi/novena/novena.c | 1 + 1 file changed, 1 insertion(+) (limited to 'board/kosagi/novena') diff --git a/board/kosagi/novena/novena.c b/board/kosagi/novena/novena.c index 919133b7d3..4a9f7243d0 100644 --- a/board/kosagi/novena/novena.c +++ b/board/kosagi/novena/novena.c @@ -88,6 +88,7 @@ int drv_keyboard_init(void) debug("%s: Cannot set up input\n", __func__); return -1; } + input_add_tables(&button_input); button_input.read_keys = novena_gpio_button_read_keys; error = input_stdio_register(&dev); -- cgit v1.2.1