projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.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
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
bluetooth
/
bnep
/
sock.c
diff --git
a/net/bluetooth/bnep/sock.c
b/net/bluetooth/bnep/sock.c
index e857628b0b27e61234102dc843ab0cc84a5f5c42..0a2c5460bb48cd7f8af1c9c87ecda6a9b90cfa2a 100644
(file)
--- a/
net/bluetooth/bnep/sock.c
+++ b/
net/bluetooth/bnep/sock.c
@@
-222,7
+222,7
@@
static int bnep_sock_create(struct net *net, struct socket *sock, int protocol)
return 0;
}
-static struct net_proto_family bnep_sock_family_ops = {
+static
const
struct net_proto_family bnep_sock_family_ops = {
.family = PF_BLUETOOTH,
.owner = THIS_MODULE,
.create = bnep_sock_create