patch-2.3.43 linux/drivers/char/busmouse.c

Next file: linux/drivers/char/dsp56k.c
Previous file: linux/drivers/char/bttv.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/char/busmouse.c linux/drivers/char/busmouse.c
@@ -343,18 +343,12 @@
 
 struct file_operations busmouse_fops=
 {
-	NULL,			/* busmouse_seek */
-	busmouse_read,
-	busmouse_write,
-	NULL,			/* busmouse_readdir */
-	busmouse_poll,
-	NULL,			/* busmouse_ioctl */
-	NULL,			/* busmouse_mmap */
-	busmouse_open,
-	NULL,			/* busmouse_flush */
-	busmouse_release,
-	NULL,
-	busmouse_fasync,
+	read:		busmouse_read,
+	write:		busmouse_write,
+	poll:		busmouse_poll,
+	open:		busmouse_open,
+	release:	busmouse_release,
+	fasync:		busmouse_fasync,
 };
 
 int

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