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

Next file: linux/drivers/char/dz.c
Previous file: linux/drivers/char/digiPCI.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.48/linux/drivers/char/ds1620.c linux/drivers/char/ds1620.c
@@ -352,18 +352,10 @@
 #endif
 
 static struct file_operations ds1620_fops = {
-	NULL,			/* lseek		*/
-	ds1620_read,		/* read			*/
-	NULL,			/* write		*/
-	NULL,			/* readdir		*/
-	NULL,			/* select		*/
-	ds1620_ioctl,		/* ioctl		*/
-	NULL,			/* mmap			*/
-	ds1620_open,		/* open			*/
-	NULL,			/* flush		*/
-	ds1620_release,		/* release		*/
-	NULL,			/* fsync		*/
-	NULL,			/* fasync		*/
+	read:		ds1620_read,
+	ioctl:		ds1620_ioctl,
+	open:		ds1620_open,
+	release:	ds1620_release,
 };
 
 static struct miscdevice ds1620_miscdev = {

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