summaryrefslogtreecommitdiff
path: root/patches/0077-genl-ro-after-init/nl80211.patch
blob: 555ea930b08800c68c653dd2b42c26d62ac816ff (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -14759,7 +14759,7 @@ static const struct genl_ops nl80211_ops
 	},
 };
 
-static struct genl_family nl80211_fam __ro_after_init = {
+static struct genl_family nl80211_fam __genl_ro_after_init = {
 	.name = NL80211_GENL_NAME,	/* have users key off the name instead */
 	.hdrsize = 0,			/* no private header */
 	.version = 1,			/* no particular meaning now */