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