patch-2.1.37 linux/arch/m68k/atari/joystick.c

Next file: linux/arch/m68k/atari/stdma.c
Previous file: linux/arch/m68k/atari/config.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/arch/m68k/atari/joystick.c linux/arch/m68k/atari/joystick.c
@@ -11,6 +11,7 @@
 #include <linux/errno.h>
 #include <linux/major.h>
 #include <linux/poll.h>
+#include <linux/init.h>
 
 #include <asm/atarikb.h>
 #include <asm/atari_joystick.h>
@@ -128,7 +129,7 @@
 	release_joystick
 };
 
-int atari_joystick_init(void)
+__initfunc(int atari_joystick_init(void))
 {
     joystick[0].active = joystick[1].active = 0;
     joystick[0].ready = joystick[1].ready = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov