diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-14 14:21:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-15 02:03:01 +0200 |
commit | 32613090a96dba2ca2cc524c8d4749d3126fdde5 (patch) | |
tree | 5e0e5f9097aca737e8a7356eb1b72e53539cda0b /net/ipv4/udplite.c | |
parent | netdev: smc91x: drop Blackfin cruft (diff) | |
download | linux-32613090a96dba2ca2cc524c8d4749d3126fdde5.tar.xz linux-32613090a96dba2ca2cc524c8d4749d3126fdde5.zip |
net: constify struct net_protocol
Remove long removed "inet_protocol_base" declaration.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udplite.c')
-rw-r--r-- | net/ipv4/udplite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c index c784891cb7e5..95248d7f75ec 100644 --- a/net/ipv4/udplite.c +++ b/net/ipv4/udplite.c @@ -25,7 +25,7 @@ static void udplite_err(struct sk_buff *skb, u32 info) __udp4_lib_err(skb, info, &udplite_table); } -static struct net_protocol udplite_protocol = { +static const struct net_protocol udplite_protocol = { .handler = udplite_rcv, .err_handler = udplite_err, .no_policy = 1, |