aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2018-10-12 12:16:17 +0200
committerFelix Fietkau <nbd@nbd.name>2018-10-13 17:39:40 +0200
commit032c08f4c675b9a61888055703eca06118a92a3f (patch)
tree2ae6336f2d87f08182ab391b4def8ba6f7b54d8f /drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h
parentmt76x0: phy: remove channel parameter from mt76x0_phy_set_chan_bbp_params (diff)
downloadlinux-dev-032c08f4c675b9a61888055703eca06118a92a3f.tar.xz
linux-dev-032c08f4c675b9a61888055703eca06118a92a3f.zip
mt76: move mt76x02_phy_set_bw in mt76x02-lib module
Move mt76x02_phy_set_bw routine in mt76x02_phy.c since it is shared between mt76x0 and mt76x2 drivers and remove duplicated code Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h b/drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h
index cbec8c6f1b2d..8b18acafedb2 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h
@@ -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_bw(struct mt76x02_dev *dev, int width, u8 ctrl);
void mt76x2_phy_set_band(struct mt76x02_dev *dev, int band, bool primary_upper);
void mt76x2_apply_gain_adj(struct mt76x02_dev *dev);