patch-2.3.49 linux/drivers/char/wdt285.c

Next file: linux/drivers/char/wdt977.c
Previous file: linux/drivers/char/vt.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.48/linux/drivers/char/wdt285.c linux/drivers/char/wdt285.c
@@ -153,18 +153,10 @@
 
 static struct file_operations watchdog_fops=
 {
-	NULL,		/* Seek */
-	NULL,		/* Read */
-	watchdog_write,	/* Write */
-	NULL,		/* Readdir */
-	NULL,		/* Select */
-	watchdog_ioctl,	/* Ioctl */
-	NULL,		/* MMap */
-	watchdog_open,
-	NULL,		/* flush */
-	watchdog_release,
-	NULL,		
-	NULL		/* Fasync */
+	write:		watchdog_write,
+	ioctl:		watchdog_ioctl,
+	open:		watchdog_open,
+	release:	watchdog_release,
 };
 
 static struct miscdevice watchdog_miscdev=

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)