aboutsummaryrefslogtreecommitdiffstats
path: root/net/iucv
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-09-14 08:23:23 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-14 20:03:09 -0400
commit5708e868dc512f055f0ea4a14d01f8252c3ca8a1 (patch)
tree723b49669dd9f96c6cec9ce16458774ed8906286 /net/iucv
parent41135cc836a1abeb12ca1416bdb29e87ad021153 (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 'net/iucv')
-rw-r--r--net/iucv/af_iucv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c
index 49c15b48408e..3c915fb42917 100644
--- a/net/iucv/af_iucv.c
+++ b/net/iucv/af_iucv.c
@@ -34,7 +34,7 @@
34 34
35static char iucv_userid[80]; 35static char iucv_userid[80];
36 36
37static struct proto_ops iucv_sock_ops; 37static const struct proto_ops iucv_sock_ops;
38 38
39static struct proto iucv_proto = { 39static struct proto iucv_proto = {
40 .name = "AF_IUCV", 40 .name = "AF_IUCV",
@@ -1682,7 +1682,7 @@ static void iucv_callback_shutdown(struct iucv_path *path, u8 ipuser[16])
1682 bh_unlock_sock(sk); 1682 bh_unlock_sock(sk);
1683} 1683}
1684 1684
1685static struct proto_ops iucv_sock_ops = { 1685static const struct proto_ops iucv_sock_ops = {
1686 .family = PF_IUCV, 1686 .family = PF_IUCV,
1687 .owner = THIS_MODULE, 1687 .owner = THIS_MODULE,
1688 .release = iucv_sock_release, 1688 .release = iucv_sock_release,