diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-01-14 22:52:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 23:03:37 +0100 |
commit | 4101dec9ca64d40f0d673f0a40ba46ba2c60e117 (patch) | |
tree | b730cbe021559ef06a2df16344be91457ee1b684 /drivers/net/pppol2tp.c | |
parent | WAN: Convert generic HDLC drivers to netdev_ops. (diff) | |
download | linux-4101dec9ca64d40f0d673f0a40ba46ba2c60e117.tar.xz linux-4101dec9ca64d40f0d673f0a40ba46ba2c60e117.zip |
net: constify VFTs
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/pppol2tp.c')
-rw-r--r-- | drivers/net/pppol2tp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pppol2tp.c b/drivers/net/pppol2tp.c index f1a946785c6a..635dd5fbe62d 100644 --- a/drivers/net/pppol2tp.c +++ b/drivers/net/pppol2tp.c @@ -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, |