public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] export atari_keyb_init
@ 2007-11-05 17:08 Adrian Bunk
  2007-11-05 21:57 ` Michael Schmitz
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-11-05 17:08 UTC (permalink / raw)
  To: geert, zippel; +Cc: linux-kernel, linux-m68k

This patch fixes the following build error:

<--  snip  -->

...
  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

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 arch/m68k/atari/atakeyb.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

5b25e716d9b676d27ebb3d61852e0d96589d974c 
diff --git a/arch/m68k/atari/atakeyb.c b/arch/m68k/atari/atakeyb.c
index 880add1..8a2a53b 100644
--- a/arch/m68k/atari/atakeyb.c
+++ b/arch/m68k/atari/atakeyb.c
@@ -565,7 +565,7 @@ void atari_kbd_leds(unsigned int leds)
 
 static int atari_keyb_done = 0;
 
-int __init atari_keyb_init(void)
+int atari_keyb_init(void)
 {
 	if (atari_keyb_done)
 		return 0;
@@ -631,6 +631,7 @@ int __init atari_keyb_init(void)
 	atari_keyb_done = 1;
 	return 0;
 }
+EXPORT_SYMBOL_GPL(atari_keyb_init);
 
 int atari_kbd_translate(unsigned char keycode, unsigned char *keycodep, char raw_mode)
 {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] export atari_keyb_init
  2007-11-05 17:08 [2.6 patch] export atari_keyb_init Adrian Bunk
@ 2007-11-05 21:57 ` Michael Schmitz
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Schmitz @ 2007-11-05 21:57 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: geert, zippel, linux-kernel, linux-m68k

Hi,

thanks for catching this ...

> This patch fixes the following build error:
>
> <--  snip  -->
>
> ...
>   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

Ack, of course...

  Michael



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-05 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05 17:08 [2.6 patch] export atari_keyb_init Adrian Bunk
2007-11-05 21:57 ` Michael Schmitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox