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
/
hidp
/
sock.c
diff --git
a/net/bluetooth/hidp/sock.c
b/net/bluetooth/hidp/sock.c
index 37c9d7d2e688ba35279f310707597c04f26d96b9..4beb6a7a2953fe3d2a997434d344297667609aa8 100644
(file)
--- a/
net/bluetooth/hidp/sock.c
+++ b/
net/bluetooth/hidp/sock.c
@@
-268,7
+268,7
@@
static int hidp_sock_create(struct net *net, struct socket *sock, int protocol)
return 0;
}
-static struct net_proto_family hidp_sock_family_ops = {
+static
const
struct net_proto_family hidp_sock_family_ops = {
.family = PF_BLUETOOTH,
.owner = THIS_MODULE,
.create = hidp_sock_create