summaryrefslogtreecommitdiff
path: root/patches/0077-genl-ro-after-init/nl80211.patch
blob: 227cd5fe018f39ba0ce8e266f51aa44f09f7869f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -14497,7 +14497,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 */