summaryrefslogtreecommitdiffstats
path: root/drivers/net/pppoe.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-09-21 06:43:54 +0000
committerDavid S. Miller <davem@davemloft.net>2010-09-21 18:04:47 -0700
commit756e64a0b106f1a2ca96889c39ea0d48131105c0 (patch)
treeaab1079dc10deebcdc0dfeaf6e009f9371131668 /drivers/net/pppoe.c
parenta9478e386165477504916094ae5efb073a44fd9f (diff)
downloadblackbird-op-linux-756e64a0b106f1a2ca96889c39ea0d48131105c0.tar.gz
blackbird-op-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,
OpenPOWER on IntegriCloud