summaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv4.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-09-14 14:21:47 +0200
committerDavid S. Miller <davem@davemloft.net>2009-09-15 02:03:01 +0200
commit32613090a96dba2ca2cc524c8d4749d3126fdde5 (patch)
tree5e0e5f9097aca737e8a7356eb1b72e53539cda0b /net/dccp/ipv4.c
parentnetdev: smc91x: drop Blackfin cruft (diff)
downloadlinux-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/dccp/ipv4.c')
-rw-r--r--net/dccp/ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index d01c00de1ad0..7302e1498d46 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -948,7 +948,7 @@ static struct proto dccp_v4_prot = {
#endif
};
-static struct net_protocol dccp_v4_protocol = {
+static const struct net_protocol dccp_v4_protocol = {
.handler = dccp_v4_rcv,
.err_handler = dccp_v4_err,
.no_policy = 1,