]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/bluetooth/cmtp/sock.c
net: mark net_proto_ops as const
[net-next-2.6.git] / net / bluetooth / cmtp / sock.c
index 16b0fad74f6e82d6a9ec0f5c98725a50fd89757a..de7c8040bc5642bf16521010e0d006fadc506342 100644 (file)
@@ -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