commit | 41135cc836a1abeb12ca1416bdb29e87ad021153 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Mon Sep 14 12:22:28 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 14 17:03:05 2009 -0700 |
tree | 01c402f2fb9ac494dc3655a17e92072b170b7c1f | |
parent | 32613090a96dba2ca2cc524c8d4749d3126fdde5 [diff] [blame] |
net: constify struct inet6_protocol Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv6/ipcomp6.c b/net/ipv6/ipcomp6.c index 79c172f..2f2a5ca 100644 --- a/net/ipv6/ipcomp6.c +++ b/net/ipv6/ipcomp6.c
@@ -178,7 +178,7 @@ .hdr_offset = xfrm6_find_1stfragopt, }; -static struct inet6_protocol ipcomp6_protocol = +static const struct inet6_protocol ipcomp6_protocol = { .handler = xfrm6_rcv, .err_handler = ipcomp6_err,