patch-2.3.43 linux/drivers/char/ftape/zftape/zftape-init.c
Next file: linux/drivers/char/ip2main.c
Previous file: linux/drivers/char/efirtc.c
Back to the patch index
Back to the overall index
-  Lines: 24
-  Date:
Wed Feb  9 11:42:35 2000
-  Orig file: 
v2.3.42/linux/drivers/char/ftape/zftape/zftape-init.c
-  Orig date: 
Tue Nov 23 22:42:20 1999
diff -u --recursive --new-file v2.3.42/linux/drivers/char/ftape/zftape/zftape-init.c linux/drivers/char/ftape/zftape/zftape-init.c
@@ -121,17 +121,12 @@
 
 static struct file_operations zft_cdev =
 {
-	NULL,			/* llseek */
-	zft_read,		/* read */
-	zft_write,		/* write */
-	NULL,			/* readdir */
-	NULL,		       	/* select */
-	zft_ioctl,		/* ioctl */
-	zft_mmap,		/* mmap */
-	zft_open,		/* open */
-	NULL,			/* flush */
-	zft_close,		/* release */
-	NULL,			/* fsync */
+	read:		zft_read,
+	write:		zft_write,
+	ioctl:		zft_ioctl,
+	mmap:		zft_mmap,
+	open:		zft_open,
+	release:	zft_close,
 };
 
 /*      Open floppy tape device
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)