diff options
author | linzhang <xiaolou4617@gmail.com> | 2017-05-15 04:26:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-16 17:54:07 +0200 |
commit | 173e7837a20a4cb26d6097f6b968c17344b5189c (patch) | |
tree | 14fb6490d49b530234ea5f748b1d68bec8a0ee8b /net/bluetooth | |
parent | tools: hv: Add clean up for included files in Ubuntu net config (diff) | |
download | linux-173e7837a20a4cb26d6097f6b968c17344b5189c.tar.xz linux-173e7837a20a4cb26d6097f6b968c17344b5189c.zip |
net: socket: mark socket protocol handler structs as const
Signed-off-by: linzhang <xiaolou4617@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/af_bluetooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/af_bluetooth.c b/net/bluetooth/af_bluetooth.c index 42d0997e2fbb..8a8f77a247e6 100644 --- a/net/bluetooth/af_bluetooth.c +++ b/net/bluetooth/af_bluetooth.c @@ -733,7 +733,7 @@ void bt_procfs_cleanup(struct net *net, const char *name) EXPORT_SYMBOL(bt_procfs_init); EXPORT_SYMBOL(bt_procfs_cleanup); -static struct net_proto_family bt_sock_family_ops = { +static const struct net_proto_family bt_sock_family_ops = { .owner = THIS_MODULE, .family = PF_BLUETOOTH, .create = bt_sock_create, |