mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: move mt76x02_phy_set_band in mt76x02-lib module
Move mt76x02_phy_set_band routine in mt76x02_phy.c since it is shared between mt76x0 and mt76x2 drivers and remove duplicated code Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
1775717f55
commit
f82134f75a
@@ -100,7 +100,6 @@ void mt76x2_phy_set_txpower_regs(struct mt76x02_dev *dev,
|
||||
enum nl80211_band band);
|
||||
void mt76x2_configure_tx_delay(struct mt76x02_dev *dev,
|
||||
enum nl80211_band band, u8 bw);
|
||||
void mt76x2_phy_set_band(struct mt76x02_dev *dev, int band, bool primary_upper);
|
||||
void mt76x2_apply_gain_adj(struct mt76x02_dev *dev);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user