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