patch-2.3.43 linux/drivers/char/acquirewdt.c

Next file: linux/drivers/char/agp/agp.h
Previous file: linux/drivers/char/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/char/acquirewdt.c linux/drivers/char/acquirewdt.c
@@ -166,16 +166,11 @@
  
  
 static struct file_operations acq_fops = {
-	NULL,
-	acq_read,
-	acq_write,
-	NULL,		/* No Readdir */
-	NULL,		/* No Select */
-	acq_ioctl,
-	NULL,		/* No mmap */
-	acq_open,
-	NULL,		/* flush */
-	acq_close
+	read:		acq_read,
+	write:		acq_write,
+	ioctl:		acq_ioctl,
+	open:		acq_open,
+	release:	acq_close,
 };
 
 static struct miscdevice acq_miscdev=

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