]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/pppol2tp.c
net: constify VFTs
[net-next-2.6.git] / drivers / net / pppol2tp.c
index f1a946785c6aee3bf580ad6015d9b825318c6566..635dd5fbe62d98b8ddad5749d5f45421e218900b 100644 (file)
@@ -2517,7 +2517,7 @@ out:
        return 0;
 }
 
-static struct seq_operations pppol2tp_seq_ops = {
+static const struct seq_operations pppol2tp_seq_ops = {
        .start          = pppol2tp_seq_start,
        .next           = pppol2tp_seq_next,
        .stop           = pppol2tp_seq_stop,
@@ -2565,7 +2565,7 @@ static int pppol2tp_proc_release(struct inode *inode, struct file *file)
        return seq_release(inode, file);
 }
 
-static struct file_operations pppol2tp_proc_fops = {
+static const struct file_operations pppol2tp_proc_fops = {
        .owner          = THIS_MODULE,
        .open           = pppol2tp_proc_open,
        .read           = seq_read,