summaryrefslogtreecommitdiffstats
path: root/drivers/char/vc_screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/vc_screen.c')
-rw-r--r--drivers/char/vc_screen.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/drivers/char/vc_screen.c b/drivers/char/vc_screen.c
index 5fc98155b..e099b4ac3 100644
--- a/drivers/char/vc_screen.c
+++ b/drivers/char/vc_screen.c
@@ -297,17 +297,10 @@ vcs_open(struct inode *inode, struct file *filp)
}
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)