diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-01-14 16:52:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 17:03:37 -0500 |
commit | 4101dec9ca64d40f0d673f0a40ba46ba2c60e117 (patch) | |
tree | b730cbe021559ef06a2df16344be91457ee1b684 /drivers/net/pppol2tp.c | |
parent | 991990a12de42281f81b4e3a6471586d2d0caf6a (diff) |
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: | |||
2517 | return 0; | 2517 | return 0; |
2518 | } | 2518 | } |
2519 | 2519 | ||
2520 | static struct seq_operations pppol2tp_seq_ops = { | 2520 | static const struct seq_operations pppol2tp_seq_ops = { |
2521 | .start = pppol2tp_seq_start, | 2521 | .start = pppol2tp_seq_start, |
2522 | .next = pppol2tp_seq_next, | 2522 | .next = pppol2tp_seq_next, |
2523 | .stop = pppol2tp_seq_stop, | 2523 | .stop = pppol2tp_seq_stop, |
@@ -2565,7 +2565,7 @@ static int pppol2tp_proc_release(struct inode *inode, struct file *file) | |||
2565 | return seq_release(inode, file); | 2565 | return seq_release(inode, file); |
2566 | } | 2566 | } |
2567 | 2567 | ||
2568 | static struct file_operations pppol2tp_proc_fops = { | 2568 | static const struct file_operations pppol2tp_proc_fops = { |
2569 | .owner = THIS_MODULE, | 2569 | .owner = THIS_MODULE, |
2570 | .open = pppol2tp_proc_open, | 2570 | .open = pppol2tp_proc_open, |
2571 | .read = seq_read, | 2571 | .read = seq_read, |