genetlink: make all genl_ops users const
[platform/adaptation/renesas_rcar/renesas_kernel.git] / net / netlabel / netlabel_mgmt.c
index dd1c37d..7de6f66 100644 (file)
@@ -705,7 +705,7 @@ version_failure:
  * NetLabel Generic NETLINK Command Definitions
  */
 
-static struct genl_ops netlbl_mgmt_genl_ops[] = {
+static const struct genl_ops netlbl_mgmt_genl_ops[] = {
        {
        .cmd = NLBL_MGMT_C_ADD,
        .flags = GENL_ADMIN_PERM,