aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r--drivers/net/tun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 151a2e10e4f3..5643d1e84ed6 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -744,7 +744,7 @@ static int tun_chr_close(struct inode *inode, struct file *file)
744 return 0; 744 return 0;
745} 745}
746 746
747static struct file_operations tun_fops = { 747static const struct file_operations tun_fops = {
748 .owner = THIS_MODULE, 748 .owner = THIS_MODULE,
749 .llseek = no_llseek, 749 .llseek = no_llseek,
750 .read = do_sync_read, 750 .read = do_sync_read,