From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: [patch 07/18] m68k: Modular Amiga keyboard needs key_maps Date: Mon, 13 Oct 2008 21:58:53 +0200 Message-ID: <20081013195916.314542315@mail.of.borg> References: <20081013195846.674654386@mail.of.borg> Return-path: Received: from edna.telenet-ops.be ([195.130.132.58]:56680 "EHLO edna.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752860AbYJMUFk (ORCPT ); Mon, 13 Oct 2008 16:05:40 -0400 Content-Disposition: inline; filename=amiga-export-key_maps.diff Sender: linux-m68k-owner@vger.kernel.org List-Id: linux-m68k@vger.kernel.org To: Linus Torvalds Cc: linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org From: Geert Uytterhoeven | ERROR: "key_maps" [drivers/input/keyboard/amikbd.ko] undefined! Export key_maps in the Amiga core code, as its defined in an autogenerated file (drivers/char/defkeymap.c) Signed-off-by: Geert Uytterhoeven --- arch/m68k/amiga/config.c | 9 +++++++++ 1 file changed, 9 insertions(+) --- a/arch/m68k/amiga/config.c +++ b/arch/m68k/amiga/config.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include @@ -984,3 +985,11 @@ static int amiga_get_hardware_list(char return len; } + +/* + * The Amiga keyboard driver needs key_maps, but we cannot export it in + * drivers/char/defkeymap.c, as it is autogenerated + */ +#ifdef CONFIG_HW_CONSOLE +EXPORT_SYMBOL_GPL(key_maps); +#endif -- Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds