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

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

diff -u --recursive --new-file v2.3.42/linux/drivers/char/qpmouse.c linux/drivers/char/qpmouse.c
@@ -290,18 +290,12 @@
 }
 
 struct file_operations qp_fops = {
-	NULL,		/* seek */
-	read_qp,
-	write_qp,
-	NULL, 		/* readdir */
-	poll_qp,
-	NULL, 		/* ioctl */
-	NULL,		/* mmap */
-	open_qp,
-	NULL,		/* flush */
-	release_qp,
-	NULL,
-	fasync_qp,
+	read:		read_qp,
+	write:		write_qp,
+	poll:		poll_qp,
+	open:		open_qp,
+	release:	release_qp,
+	fasync:		fasync_qp,
 };
 
 /*

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