net: mark net_proto_ops as const
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / decnet / af_decnet.c
index 7a58c87baf172f9384fab475f8243eab58716e58..4d3060660a14891b7709600d4d2cecb3b064219c 100644 (file)
@@ -2325,7 +2325,7 @@ static const struct file_operations dn_socket_seq_fops = {
 };
 #endif
 
-static struct net_proto_family dn_family_ops = {
+static const struct net_proto_family   dn_family_ops = {
        .family =       AF_DECnet,
        .create =       dn_create,
        .owner  =       THIS_MODULE,