aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pppoe.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-09-21 02:43:54 -0400
committerDavid S. Miller <davem@davemloft.net>2010-09-21 21:04:47 -0400
commit756e64a0b106f1a2ca96889c39ea0d48131105c0 (patch)
treeaab1079dc10deebcdc0dfeaf6e009f9371131668 /drivers/net/pppoe.c
parenta9478e386165477504916094ae5efb073a44fd9f (diff)
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 = {
1124 .ioctl = pppox_ioctl, 1124 .ioctl = pppox_ioctl,
1125}; 1125};
1126 1126
1127static struct pppox_proto pppoe_proto = { 1127static const struct pppox_proto pppoe_proto = {
1128 .create = pppoe_create, 1128 .create = pppoe_create,
1129 .ioctl = pppoe_ioctl, 1129 .ioctl = pppoe_ioctl,
1130 .owner = THIS_MODULE, 1130 .owner = THIS_MODULE,