summaryrefslogtreecommitdiff
path: root/patches/0077-genl-ro-after-init/hwsim.patch
blob: 6a1b7022fe9a3072c3f101255d3c89b1ae3a612c (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
@@ -3546,7 +3546,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,