summaryrefslogtreecommitdiff
path: root/board/kosagi
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-10-19 03:17:13 (GMT)
committerSimon Glass <sjg@chromium.org>2015-11-20 03:13:40 (GMT)
commit66877b0f5fc96906d70f1264b3b8102d2156360f (patch)
treef8f031613a60f517294918d270803d99e2e72487 /board/kosagi
parent92778b2784e15a1ac88d4cf64a12eee8163b221c (diff)
downloadu-boot-66877b0f5fc96906d70f1264b3b8102d2156360f.tar.xz
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 <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'board/kosagi')
-rw-r--r--board/kosagi/novena/novena.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/kosagi/novena/novena.c b/board/kosagi/novena/novena.c
index 919133b..4a9f724 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);