patch-2.3.43 linux/drivers/sgi/char/ds1286.c

Next file: linux/drivers/sgi/char/graphics.c
Previous file: linux/drivers/scsi/u14-34f.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/sgi/char/ds1286.c linux/drivers/sgi/char/ds1286.c
@@ -373,16 +373,12 @@
  */
 
 static struct file_operations ds1286_fops = {
-	ds1286_llseek,
-	ds1286_read,
-	NULL,		/* No write */
-	NULL,		/* No readdir */
-	ds1286_poll,
-	ds1286_ioctl,
-	NULL,		/* No mmap */
-	ds1286_open,
-	NULL,
-	ds1286_release
+	llseek:		ds1286_llseek,
+	read:		ds1286_read,
+	poll:		ds1286_poll,
+	ioctl:		ds1286_ioctl,
+	open:		ds1286_open,
+	release:	ds1286_release,
 };
 
 static struct miscdevice ds1286_dev=

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