diff options
Diffstat (limited to 'net/iucv')
-rw-r--r-- | net/iucv/af_iucv.c | 4 |
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 | ||
35 | static char iucv_userid[80]; | 35 | static char iucv_userid[80]; |
36 | 36 | ||
37 | static struct proto_ops iucv_sock_ops; | 37 | static const struct proto_ops iucv_sock_ops; |
38 | 38 | ||
39 | static struct proto iucv_proto = { | 39 | static 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 | ||
1685 | static struct proto_ops iucv_sock_ops = { | 1685 | static 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, |