From: Geert Uytterhoeven Date: Mon, 13 Oct 2008 19:58:53 +0000 (+0200) Subject: m68k: Modular Amiga keyboard needs key_maps X-Git-Tag: v2.6.28-rc1~592 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=39d2d99d988142b7db38afab568c72da03b96237;p=linux-2.6-omap-h63xx.git m68k: Modular Amiga keyboard needs key_maps | 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 Signed-off-by: Linus Torvalds --- diff --git a/arch/m68k/amiga/config.c b/arch/m68k/amiga/config.c index df679d96b1c..0a3f9e8ebde 100644 --- 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 *buffer) 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