net: mark net_proto_ops as const
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / netlink / af_netlink.c
index 19e98007691cce17b68e3fc29896b7dc3626a526..0cd2d88293136c271f72df7f1a4478919f448a06 100644 (file)
@@ -2050,7 +2050,7 @@ static const struct proto_ops netlink_ops = {
        .sendpage =     sock_no_sendpage,
 };
 
-static struct net_proto_family netlink_family_ops = {
+static const struct net_proto_family netlink_family_ops = {
        .family = PF_NETLINK,
        .create = netlink_create,
        .owner  = THIS_MODULE,  /* for consistency 8) */