From f14f8fa7944294dbfff7820dfee2d94c235af3ab Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Thu, 6 Nov 2014 12:02:10 +0100 Subject: [PATCH] backport: genl: add __genl_const for new hwsim mcast group Signed-off-by: Johannes Berg Signed-off-by: Hauke Mehrtens --- .../network/0027-genl-const/hwsim.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/patches/collateral-evolutions/network/0027-genl-const/hwsim.patch b/patches/collateral-evolutions/network/0027-genl-const/hwsim.patch index 33cba175dda6..0ede9e50c1b0 100644 --- a/patches/collateral-evolutions/network/0027-genl-const/hwsim.patch +++ b/patches/collateral-evolutions/network/0027-genl-const/hwsim.patch @@ -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 */ -- 2.30.2