patch-2.3.43 linux/drivers/char/dtlk.c
Next file: linux/drivers/char/efirtc.c
Previous file: linux/drivers/char/dsp56k.c
Back to the patch index
Back to the overall index
-  Lines: 26
-  Date:
Wed Feb  9 11:42:35 2000
-  Orig file: 
v2.3.42/linux/drivers/char/dtlk.c
-  Orig date: 
Fri Jan 28 15:09:07 2000
diff -u --recursive --new-file v2.3.42/linux/drivers/char/dtlk.c linux/drivers/char/dtlk.c
@@ -98,19 +98,12 @@
 
 static struct file_operations dtlk_fops =
 {
-	NULL,			/* lseek */
-	dtlk_read,
-	dtlk_write,
-	NULL,			/* readdir */
-	dtlk_poll,
-	dtlk_ioctl,
-	NULL,			/* mmap */
-	dtlk_open,
-	NULL,			/* flush */
-	dtlk_release,
-	NULL,			/* fsync */
-	NULL,			/* fasync */
-	NULL			/* lock */
+	read:		dtlk_read,
+	write:		dtlk_write,
+	poll:		dtlk_poll,
+	ioctl:		dtlk_ioctl,
+	open:		dtlk_open,
+	release:	dtlk_release,
 };
 
 /* local prototypes */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)