backport: genl: add __genl_const for new hwsim mcast group
authorJohannes Berg <johannes.berg@intel.com>
Thu, 6 Nov 2014 11:02:10 +0000 (12:02 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 16 Nov 2014 15:12:23 +0000 (16:12 +0100)
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/collateral-evolutions/network/0027-genl-const/hwsim.patch

index 33cba175dda616a0bf55429bec302eacde8a738d..0ede9e50c1b0de137ac68c17a70a86fe21716d0b 100644 (file)
@@ -1,6 +1,15 @@
 --- a/drivers/net/wireless/mac80211_hwsim.c
 +++ b/drivers/net/wireless/mac80211_hwsim.c
-@@ -2483,7 +2483,7 @@ static int hwsim_destroy_radio_nl(struct
+@@ -490,7 +490,7 @@ enum hwsim_multicast_groups {
+       HWSIM_MCGRP_CONFIG,
+ };
+-static const struct genl_multicast_group hwsim_mcgrps[] = {
++static __genl_const struct genl_multicast_group hwsim_mcgrps[] = {
+       [HWSIM_MCGRP_CONFIG] = { .name = "config", },
+ };
+@@ -2759,7 +2759,7 @@ static int hwsim_del_radio_nl(struct sk_
  }
  
  /* Generic Netlink operations array */