git.openpandora.org
/
pandora-kernel.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
[pandora-kernel.git]
/
net
/
bluetooth
/
cmtp
/
sock.c
diff --git
a/net/bluetooth/cmtp/sock.c
b/net/bluetooth/cmtp/sock.c
index
16b0fad
..
de7c804
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