From: Johannes Berg Date: Thu, 6 Nov 2014 11:02:10 +0000 (+0100) Subject: backport: genl: add __genl_const for new hwsim mcast group X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f14f8fa7944294dbfff7820dfee2d94c235af3ab;p=openwrt%2Fstaging%2Fblogic.git backport: genl: add __genl_const for new hwsim mcast group Signed-off-by: Johannes Berg Signed-off-by: Hauke Mehrtens --- 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 */