make -C /lib/modules/5.10.110-rockchip-rk3588//build/ M=/home/dmarkey/mt7921
CC [M] /home/dmarkey/mt7921/mt76/mt76x0/usb.o
In file included from /home/dmarkey/mt7921/mt76/mt76x0/../mt76x02.h:12,
from /home/dmarkey/mt7921/mt76/mt76x0/mt76x0.h:20,
from /home/dmarkey/mt7921/mt76/mt76x0/usb.c:10:
/home/dmarkey/mt7921/mt76/mt76x0/../mt76.h:1192:38: warning: 'struct cfg80211_sar_specs' declared inside parameter list will not be visible outside of this definition or declaration
error, forbidden warning:mt76.h:1192
1192 | const struct cfg80211_sar_specs *sar);
| ^~~~~~~~~~~~~~~~~~
In file included from /home/dmarkey/mt7921/mt76/mt76x0/usb.c:10:
/home/dmarkey/mt7921/mt76/mt76x0/mt76x0.h:53:39: warning: 'struct cfg80211_sar_specs' declared inside parameter list will not be visible outside of this definition or declaration
error, forbidden warning:mt76x0.h:53
53 | const struct cfg80211_sar_specs *sar);
| ^~~~~~~~~~~~~~~~~~
/home/dmarkey/mt7921/mt76/mt76x0/usb.c:144:10: error: 'const struct ieee80211_ops' has no member named 'set_sar_specs'
144 | .set_sar_specs = mt76x0_set_sar_specs,
| ^~~~~~~~~~~~~
/home/dmarkey/mt7921/mt76/mt76x0/usb.c:144:26: error: initialization of 'int (*)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_channel *, int, enum ieee80211_roc_type)' from incompatible pointer type 'int (*)(struct ieee80211_hw *, const struct cfg80211_sar_specs *)' [-Werror=incompatible-pointer-types]
144 | .set_sar_specs = mt76x0_set_sar_specs,
| ^~~~~~~~~~~~~~~~~~~~
/home/dmarkey/mt7921/mt76/mt76x0/usb.c:144:26: note: (near initialization for 'mt76x0u_ops.remain_on_channel')
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:273: /home/dmarkey/mt7921/mt76/mt76x0/usb.o] Error 1
make[3]: *** [scripts/Makefile.build:516: /home/dmarkey/mt7921/mt76/mt76x0] Error 2
make[2]: *** [scripts/Makefile.build:516: /home/dmarkey/mt7921/mt76] Error 2
make[1]: *** [Makefile:1920: /home/dmarkey/mt7921] Error 2
make: *** [Makefile:35: default] Error 2