Commit 9e893bb8 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

m68k: export atari_keyb_init

m68k: export atari_keyb_init

This patch fixes the following build error:

  ..
    MODPOST 25 modules
  ERROR: "atari_keyb_init" [drivers/input/mouse/atarimouse.ko] undefined!
  ERROR: "atari_keyb_init" [drivers/input/keyboard/atakbd.ko] undefined!
  make[2]: *** [__modpost] Error 1
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6b410160
...@@ -565,7 +565,7 @@ void atari_kbd_leds(unsigned int leds) ...@@ -565,7 +565,7 @@ void atari_kbd_leds(unsigned int leds)
static int atari_keyb_done = 0; static int atari_keyb_done = 0;
int __init atari_keyb_init(void) int atari_keyb_init(void)
{ {
if (atari_keyb_done) if (atari_keyb_done)
return 0; return 0;
...@@ -631,6 +631,7 @@ int __init atari_keyb_init(void) ...@@ -631,6 +631,7 @@ int __init atari_keyb_init(void)
atari_keyb_done = 1; atari_keyb_done = 1;
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(atari_keyb_init);
int atari_kbd_translate(unsigned char keycode, unsigned char *keycodep, char raw_mode) int atari_kbd_translate(unsigned char keycode, unsigned char *keycodep, char raw_mode)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment