patch-2.3.49 linux/drivers/char/wdt977.c
Next file: linux/drivers/i2o/i2o_lan.c
Previous file: linux/drivers/char/wdt285.c
Back to the patch index
Back to the overall index
-  Lines: 22
-  Date:
Tue Feb 29 11:08:16 2000
-  Orig file: 
v2.3.48/linux/drivers/char/wdt977.c
-  Orig date: 
Sat Feb 26 22:31:45 2000
diff -u --recursive --new-file v2.3.48/linux/drivers/char/wdt977.c linux/drivers/char/wdt977.c
@@ -162,18 +162,9 @@
 
 static struct file_operations wdt977_fops=
 {
-	NULL,		/* Seek */
-	NULL,		/* Read */
-	wdt977_write,	/* Write */
-	NULL,		/* Readdir */
-	NULL,		/* Select */
-	NULL,		/* Ioctl */
-	NULL,		/* MMap */
-	wdt977_open,
-	NULL,		/* flush */
-	wdt977_release,
-	NULL,		
-	NULL		/* Fasync */
+	write:		wdt977_write,
+	open:		wdt977_open,
+	release:	wdt977_release,
 };
 
 static struct miscdevice wdt977_miscdev=
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)