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

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

diff -u --recursive --new-file v2.3.42/linux/drivers/char/vc_screen.c linux/drivers/char/vc_screen.c
@@ -297,17 +297,10 @@
 }
 
 static struct file_operations vcs_fops = {
-	vcs_lseek,	/* lseek */
-	vcs_read,	/* read */
-	vcs_write,	/* write */
-	NULL,		/* readdir */
-	NULL,		/* poll */
-	NULL,		/* ioctl */
-	NULL,		/* mmap */
-	vcs_open,	/* open */
-	NULL,		/* flush */
-	NULL,		/* release */
-	NULL		/* fsync */
+	llseek:		vcs_lseek,
+	read:		vcs_read,
+	write:		vcs_write,
+	open:		vcs_open,
 };
 
 int __init vcs_init(void)

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