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

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)