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

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

diff -u --recursive --new-file v2.3.42/linux/drivers/char/tpqic02.c linux/drivers/char/tpqic02.c
@@ -2765,18 +2765,12 @@
 
 /* These are (most) of the interface functions: */
 static struct file_operations qic02_tape_fops = {
-	qic02_tape_lseek,		/* not allowed */
-	qic02_tape_read,		/* read */
-	qic02_tape_write,		/* write */
-	NULL,				/* readdir not allowed */
-	NULL,				/* poll ??? */
-	qic02_tape_ioctl,		/* ioctl */
-	NULL,				/* mmap not allowed */
-	qic02_tape_open,		/* open */
-	NULL,				/* flush */
-	qic02_tape_release,		/* release */
-	NULL,				/* fsync */
-	NULL,				/* fasync */
+	llseek:		qic02_tape_lseek,	/* not allowed */
+	read:		qic02_tape_read,
+	write:		qic02_tape_write,
+	ioctl:		qic02_tape_ioctl,
+	open:		qic02_tape_open,
+	release:	qic02_tape_release,
 };
 
 

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