diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-10-05 01:58:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-07 04:10:46 -0400 |
commit | ec1b4cf74c81bfd0fbe5bf62bafc86c45917e72f (patch) | |
tree | 1b693e4e027f3e42224e6221ae018daeb562e5e1 /net/bluetooth/sco.c | |
parent | f7734fdf61ec6bb848e0bafc1fb8bad2c124bb50 (diff) |
net: mark net_proto_ops as const
All usages of structure net_proto_ops should be declared const.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth/sco.c')
-rw-r--r-- | net/bluetooth/sco.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index 77f4153bdb5e..694a65541b73 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c | |||
@@ -993,7 +993,7 @@ static const struct proto_ops sco_sock_ops = { | |||
993 | .getsockopt = sco_sock_getsockopt | 993 | .getsockopt = sco_sock_getsockopt |
994 | }; | 994 | }; |
995 | 995 | ||
996 | static struct net_proto_family sco_sock_family_ops = { | 996 | static const struct net_proto_family sco_sock_family_ops = { |
997 | .family = PF_BLUETOOTH, | 997 | .family = PF_BLUETOOTH, |
998 | .owner = THIS_MODULE, | 998 | .owner = THIS_MODULE, |
999 | .create = sco_sock_create, | 999 | .create = sco_sock_create, |