From: Geert Uytterhoeven Date: Wed, 3 Dec 2014 22:52:58 +0000 (-0800) Subject: Input: amikbd - fix build if !CONFIG_HW_CONSOLE X-Git-Tag: omap-for-v3.20/drop-legacy-3517~52^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=545e625325c5850a506b116788e6045aac69cc36;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed