net: mark net_proto_ops as const
[pandora-kernel.git] / net / bluetooth / cmtp / sock.c
index 16b0fad..de7c804 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