summaryrefslogtreecommitdiffstats
path: root/drivers/net/pppol2tp.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-01-14 13:52:18 -0800
committerDavid S. Miller <davem@davemloft.net>2009-01-21 14:03:37 -0800
commit4101dec9ca64d40f0d673f0a40ba46ba2c60e117 (patch)
treeb730cbe021559ef06a2df16344be91457ee1b684 /drivers/net/pppol2tp.c
parent991990a12de42281f81b4e3a6471586d2d0caf6a (diff)
downloadop-kernel-dev-4101dec9ca64d40f0d673f0a40ba46ba2c60e117.zip
op-kernel-dev-4101dec9ca64d40f0d673f0a40ba46ba2c60e117.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pppol2tp.c b/drivers/net/pppol2tp.c
index f1a9467..635dd5f 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,
OpenPOWER on IntegriCloud