summaryrefslogtreecommitdiff
path: root/patches/0077-genl-ro-after-init/hwsim.patch
blob: ada56d343e89cb981a87ba13498b770b4640f33b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -3664,7 +3664,7 @@ static const struct genl_ops hwsim_ops[]
 	},
 };
 
-static struct genl_family hwsim_genl_family __ro_after_init = {
+static struct genl_family hwsim_genl_family __genl_ro_after_init = {
 	.name = "MAC80211_HWSIM",
 	.version = 1,
 	.maxattr = HWSIM_ATTR_MAX,