genetlink: make all genl_ops users const
[linux-2.6-block.git] / drivers / net / wireless / mac80211_hwsim.c
index de0df86704e714778891b7fb1af6b2cfc1340bef..cfc3fda79a2d8522ed963154a64c107a6f45ada8 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,