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

Next file: linux/arch/m68k/bvme6000/rtc.c
Previous file: linux/arch/ia64/vmlinux.lds.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/arch/m68k/atari/joystick.c linux/arch/m68k/atari/joystick.c
@@ -118,16 +118,11 @@
 }
 
 struct file_operations atari_joystick_fops = {
-	NULL,		/* joystick_seek */
-	read_joystick,
-	write_joystick,
-	NULL,		/* joystick_readdir */
-	joystick_poll,
-	NULL,		/* joystick_ioctl */
-	NULL,		/* joystick_mmap */
-	open_joystick,
-	NULL,		/* flush */
-	release_joystick
+	read:		read_joystick,
+	write:		write_joystick,
+	poll:		joystick_poll,
+	open:		open_joystick,
+	release:	release_joystick,
 };
 
 int __init atari_joystick_init(void)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)