diff options
| author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-14 08:21:47 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2009-09-14 20:03:01 -0400 |
| commit | 32613090a96dba2ca2cc524c8d4749d3126fdde5 (patch) | |
| tree | 5e0e5f9097aca737e8a7356eb1b72e53539cda0b /net/sctp | |
| parent | e4c57d0f964cdbe278ed6b3bf632138fe575267e (diff) | |
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/sctp')
| -rw-r--r-- | net/sctp/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 60093be8385..c557f1fb1c6 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c | |||
| @@ -924,7 +924,7 @@ static struct inet_protosw sctp_stream_protosw = { | |||
| 924 | }; | 924 | }; |
| 925 | 925 | ||
| 926 | /* Register with IP layer. */ | 926 | /* Register with IP layer. */ |
| 927 | static struct net_protocol sctp_protocol = { | 927 | static const struct net_protocol sctp_protocol = { |
| 928 | .handler = sctp_rcv, | 928 | .handler = sctp_rcv, |
| 929 | .err_handler = sctp_v4_err, | 929 | .err_handler = sctp_v4_err, |
| 930 | .no_policy = 1, | 930 | .no_policy = 1, |
