summaryrefslogtreecommitdiffstats
path: root/drivers/net/pppoe.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-09-21 08:43:54 +0200
committerDavid S. Miller <davem@davemloft.net>2010-09-22 03:04:47 +0200
commit756e64a0b106f1a2ca96889c39ea0d48131105c0 (patch)
treeaab1079dc10deebcdc0dfeaf6e009f9371131668 /drivers/net/pppoe.c
parentsundance: Use dev_kfree_skb_any() helper (diff)
downloadlinux-756e64a0b106f1a2ca96889c39ea0d48131105c0.tar.xz
linux-756e64a0b106f1a2ca96889c39ea0d48131105c0.zip
net: constify some ppp/pptp structs
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/pppoe.c')
-rw-r--r--drivers/net/pppoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c
index c07de359dc07..d72fb0519a2a 100644
--- a/drivers/net/pppoe.c
+++ b/drivers/net/pppoe.c
@@ -1124,7 +1124,7 @@ static const struct proto_ops pppoe_ops = {
.ioctl = pppox_ioctl,
};
-static struct pppox_proto pppoe_proto = {
+static const struct pppox_proto pppoe_proto = {
.create = pppoe_create,
.ioctl = pppoe_ioctl,
.owner = THIS_MODULE,