1 --- a/drivers/net/wireless/mac80211_hwsim.c
2 +++ b/drivers/net/wireless/mac80211_hwsim.c
3 @@ -3376,7 +3376,7 @@ static const struct genl_ops hwsim_ops[]
7 -static struct genl_family hwsim_genl_family __ro_after_init = {
8 +static struct genl_family hwsim_genl_family __genl_ro_after_init = {
9 .name = "MAC80211_HWSIM",
11 .maxattr = HWSIM_ATTR_MAX,