blob: f97af731cd2c72eb45e9a3860bea42a01c7e4a4e [file] [log] [blame]
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -3654,7 +3654,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,