summaryrefslogtreecommitdiffstats
path: root/net/iucv/af_iucv.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-09-14 14:23:23 +0200
committerDavid S. Miller <davem@davemloft.net>2009-09-15 02:03:09 +0200
commit5708e868dc512f055f0ea4a14d01f8252c3ca8a1 (patch)
tree723b49669dd9f96c6cec9ce16458774ed8906286 /net/iucv/af_iucv.c
parentnet: constify struct inet6_protocol (diff)
downloadlinux-5708e868dc512f055f0ea4a14d01f8252c3ca8a1.tar.xz
linux-5708e868dc512f055f0ea4a14d01f8252c3ca8a1.zip
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/af_iucv.c')
-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 @@
static char iucv_userid[80];
-static struct proto_ops iucv_sock_ops;
+static const struct proto_ops iucv_sock_ops;
static struct proto iucv_proto = {
.name = "AF_IUCV",
@@ -1682,7 +1682,7 @@ static void iucv_callback_shutdown(struct iucv_path *path, u8 ipuser[16])
bh_unlock_sock(sk);
}
-static struct proto_ops iucv_sock_ops = {
+static const struct proto_ops iucv_sock_ops = {
.family = PF_IUCV,
.owner = THIS_MODULE,
.release = iucv_sock_release,