diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2014-12-04 01:52:58 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-12-04 02:28:27 +0300 |
commit | 545e625325c5850a506b116788e6045aac69cc36 (patch) | |
tree | 27e5996529a7b3e19fe7dc6ee3a0fff5b5b55b7a /drivers/input/misc | |
parent | 3b5005e9206af245033e9209eee193f3d7b2f636 (diff) | |
download | linux-545e625325c5850a506b116788e6045aac69cc36.tar.xz |
Input: amikbd - fix build if !CONFIG_HW_CONSOLE
If CONFIG_HW_CONSOLE is not set:
drivers/built-in.o: In function `amikbd_probe':
amikbd.c:(.init.text+0x3e4e): undefined reference to `key_maps'
amikbd.c:(.init.text+0x3dd4): undefined reference to `key_maps'
To fix this, extract the initialization of the console keyboard maps
into amikbd_init_console_keymaps(), protected by #ifdef
CONFIG_HW_CONSOLE.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc')
0 files changed, 0 insertions, 0 deletions