diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-14 08:23:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-14 20:03:09 -0400 |
commit | 5708e868dc512f055f0ea4a14d01f8252c3ca8a1 (patch) | |
tree | 723b49669dd9f96c6cec9ce16458774ed8906286 /drivers | |
parent | 41135cc836a1abeb12ca1416bdb29e87ad021153 (diff) |
net: constify remaining proto_ops
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-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 e0f9219a0aea..cc394d073755 100644 --- a/drivers/net/pppol2tp.c +++ b/drivers/net/pppol2tp.c | |||
@@ -229,7 +229,7 @@ static void pppol2tp_tunnel_free(struct pppol2tp_tunnel *tunnel); | |||
229 | static atomic_t pppol2tp_tunnel_count; | 229 | static atomic_t pppol2tp_tunnel_count; |
230 | static atomic_t pppol2tp_session_count; | 230 | static atomic_t pppol2tp_session_count; |
231 | static struct ppp_channel_ops pppol2tp_chan_ops = { pppol2tp_xmit , NULL }; | 231 | static struct ppp_channel_ops pppol2tp_chan_ops = { pppol2tp_xmit , NULL }; |
232 | static struct proto_ops pppol2tp_ops; | 232 | static const struct proto_ops pppol2tp_ops; |
233 | 233 | ||
234 | /* per-net private data for this module */ | 234 | /* per-net private data for this module */ |
235 | static int pppol2tp_net_id; | 235 | static int pppol2tp_net_id; |
@@ -2574,7 +2574,7 @@ static const struct file_operations pppol2tp_proc_fops = { | |||
2574 | * Init and cleanup | 2574 | * Init and cleanup |
2575 | *****************************************************************************/ | 2575 | *****************************************************************************/ |
2576 | 2576 | ||
2577 | static struct proto_ops pppol2tp_ops = { | 2577 | static const struct proto_ops pppol2tp_ops = { |
2578 | .family = AF_PPPOX, | 2578 | .family = AF_PPPOX, |
2579 | .owner = THIS_MODULE, | 2579 | .owner = THIS_MODULE, |
2580 | .release = pppol2tp_release, | 2580 | .release = pppol2tp_release, |