projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: mark net_proto_ops as const
[firefly-linux-kernel-4.4.55.git]
/
net
/
bluetooth
/
cmtp
/
sock.c
diff --git
a/net/bluetooth/cmtp/sock.c
b/net/bluetooth/cmtp/sock.c
index 16b0fad74f6e82d6a9ec0f5c98725a50fd89757a..de7c8040bc5642bf16521010e0d006fadc506342 100644
(file)
--- a/
net/bluetooth/cmtp/sock.c
+++ b/
net/bluetooth/cmtp/sock.c
@@
-217,7
+217,7
@@
static int cmtp_sock_create(struct net *net, struct socket *sock, int protocol)
return 0;
}
-static struct net_proto_family cmtp_sock_family_ops = {
+static
const
struct net_proto_family cmtp_sock_family_ops = {
.family = PF_BLUETOOTH,
.owner = THIS_MODULE,
.create = cmtp_sock_create