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

Next file: linux/arch/m68k/config.in
Previous file: linux/arch/m68k/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.30/linux/arch/m68k/atari/joystick.c linux/arch/m68k/atari/joystick.c
@@ -54,7 +54,7 @@
 /*    ikbd_joystick_event_on(); */
 }
 
-static void release_joystick(struct inode *inode, struct file *file)
+static int release_joystick(struct inode *inode, struct file *file)
 {
     int minor = DEVICE_NR(inode->i_rdev);
 
@@ -63,6 +63,7 @@
 
     if ((joystick[0].active == 0) && (joystick[1].active == 0))
 	ikbd_joystick_disable();
+    return 0;
 }
 
 static int open_joystick(struct inode *inode, struct file *file)

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