net: mark net_proto_ops as const
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / bluetooth / bnep / sock.c
index e857628b0b27e61234102dc843ab0cc84a5f5c42..0a2c5460bb48cd7f8af1c9c87ecda6a9b90cfa2a 100644 (file)
@@ -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