blob: ceba57bdc1078e9b783a2138d8c8f17955387b4c [file] [log] [blame]
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -14199,7 +14199,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 */