patches: refresh on kernel v4.16-rc3
[openwrt/staging/blogic.git] / patches / 0077-genl-ro-after-init / hwsim.patch
1 --- a/drivers/net/wireless/mac80211_hwsim.c
2 +++ b/drivers/net/wireless/mac80211_hwsim.c
3 @@ -3376,7 +3376,7 @@ static const struct genl_ops hwsim_ops[]
4 },
5 };
6
7 -static struct genl_family hwsim_genl_family __ro_after_init = {
8 +static struct genl_family hwsim_genl_family __genl_ro_after_init = {
9 .name = "MAC80211_HWSIM",
10 .version = 1,
11 .maxattr = HWSIM_ATTR_MAX,