patch-2.3.43 linux/drivers/char/softdog.c
Next file: linux/drivers/char/stallion.c
Previous file: linux/drivers/char/saa5249.c
Back to the patch index
Back to the overall index
-  Lines: 23
-  Date:
Wed Feb  9 11:42:35 2000
-  Orig file: 
v2.3.42/linux/drivers/char/softdog.c
-  Orig date: 
Mon Oct  4 15:49:29 1999
diff -u --recursive --new-file v2.3.42/linux/drivers/char/softdog.c linux/drivers/char/softdog.c
@@ -158,18 +158,10 @@
 
 static struct file_operations softdog_fops=
 {
-	NULL,		/* Seek */
-	NULL,		/* Read */
-	softdog_write,	/* Write */
-	NULL,		/* Readdir */
-	NULL,		/* Select */
-	softdog_ioctl,	/* Ioctl */
-	NULL,		/* MMap */
-	softdog_open,
-	NULL,		/* flush */
-	softdog_release,
-	NULL,		
-	NULL		/* Fasync */
+	write:		softdog_write,
+	ioctl:		softdog_ioctl,
+	open:		softdog_open,
+	release:	softdog_release,
 };
 
 static struct miscdevice softdog_miscdev=
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)