aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/amiga
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2008-10-13 15:58:53 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-14 13:23:26 -0400
commit39d2d99d988142b7db38afab568c72da03b96237 (patch)
treeea7349afc8c0da3e8fd4a7cbe96b40ef33b28e2c /arch/m68k/amiga
parent8c68383edfeaa524f589aeca1d217baff6bae69b (diff)
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 <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k/amiga')
-rw-r--r--arch/m68k/amiga/config.c9
1 files changed, 9 insertions, 0 deletions
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 @@
24#include <linux/interrupt.h> 24#include <linux/interrupt.h>
25#include <linux/zorro.h> 25#include <linux/zorro.h>
26#include <linux/module.h> 26#include <linux/module.h>
27#include <linux/keyboard.h>
27 28
28#include <asm/bootinfo.h> 29#include <asm/bootinfo.h>
29#include <asm/setup.h> 30#include <asm/setup.h>
@@ -984,3 +985,11 @@ static int amiga_get_hardware_list(char *buffer)
984 985
985 return len; 986 return len;
986} 987}
988
989/*
990 * The Amiga keyboard driver needs key_maps, but we cannot export it in
991 * drivers/char/defkeymap.c, as it is autogenerated
992 */
993#ifdef CONFIG_HW_CONSOLE
994EXPORT_SYMBOL_GPL(key_maps);
995#endif