genetlink: make all genl_ops users const
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / net / wireless / mac80211_hwsim.c
index de0df86..cfc3fda 100644 (file)
@@ -2097,7 +2097,7 @@ out:
 }
 
 /* Generic Netlink operations array */
-static struct genl_ops hwsim_ops[] = {
+static const struct genl_ops hwsim_ops[] = {
        {
                .cmd = HWSIM_CMD_REGISTER,
                .policy = hwsim_genl_policy,