diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-14 14:23:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-15 02:03:09 +0200 |
commit | 5708e868dc512f055f0ea4a14d01f8252c3ca8a1 (patch) | |
tree | 723b49669dd9f96c6cec9ce16458774ed8906286 /net/rose/af_rose.c | |
parent | net: constify struct inet6_protocol (diff) | |
download | linux-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 '')
-rw-r--r-- | net/rose/af_rose.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c index e5f478ca3d61..1e166c9685aa 100644 --- a/net/rose/af_rose.c +++ b/net/rose/af_rose.c @@ -63,7 +63,7 @@ int sysctl_rose_window_size = ROSE_DEFAULT_WINDOW_SIZE; static HLIST_HEAD(rose_list); static DEFINE_SPINLOCK(rose_list_lock); -static struct proto_ops rose_proto_ops; +static const struct proto_ops rose_proto_ops; ax25_address rose_callsign; @@ -1515,7 +1515,7 @@ static struct net_proto_family rose_family_ops = { .owner = THIS_MODULE, }; -static struct proto_ops rose_proto_ops = { +static const struct proto_ops rose_proto_ops = { .family = PF_ROSE, .owner = THIS_MODULE, .release = rose_release, |