patch-2.3.43 linux/drivers/char/pcwd.c
Next file: linux/drivers/char/ppdev.c
Previous file: linux/drivers/char/pc_keyb.c
Back to the patch index
Back to the overall index
-  Lines: 25
-  Date:
Wed Feb  9 11:42:35 2000
-  Orig file: 
v2.3.42/linux/drivers/char/pcwd.c
-  Orig date: 
Fri Jan 21 18:19:16 2000
diff -u --recursive --new-file v2.3.42/linux/drivers/char/pcwd.c linux/drivers/char/pcwd.c
@@ -574,19 +574,11 @@
 }
 
 static struct file_operations pcwd_fops = {
-	NULL,		/* Seek */
-	pcwd_read,	/* Read */
-	pcwd_write,	/* Write */
-	NULL,		/* Readdir */
-	NULL,		/* Poll */
-	pcwd_ioctl,	/* IOctl */
-	NULL,		/* MMAP */
-	pcwd_open,	/* Open */
-	NULL,		/* flush */
-	pcwd_close,	/* Release */
-	NULL,		/* Fsync */
-	NULL,		/* Fasync */
-	NULL,		/* Lock */
+	read:		pcwd_read,
+	write:		pcwd_write,
+	ioctl:		pcwd_ioctl,
+	open:		pcwd_open,
+	release:	pcwd_close,
 };
 
 static struct miscdevice pcwd_miscdev = {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)