mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 12:59:33 -04:00
mt76: mt7921: make mt7921_set_channel static
Make mt7921_set_channel routine static since it is only used in main.c Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
committed by
Felix Fietkau
parent
271fa68536
commit
5bc52dee44
@@ -316,7 +316,7 @@ static void mt7921_remove_interface(struct ieee80211_hw *hw,
|
||||
spin_unlock_bh(&dev->sta_poll_lock);
|
||||
}
|
||||
|
||||
int mt7921_set_channel(struct mt7921_phy *phy)
|
||||
static int mt7921_set_channel(struct mt7921_phy *phy)
|
||||
{
|
||||
struct mt7921_dev *dev = phy->dev;
|
||||
int ret;
|
||||
|
||||
@@ -261,7 +261,6 @@ int mt7921_mcu_init(struct mt7921_dev *dev);
|
||||
int mt7921_mcu_add_key(struct mt7921_dev *dev, struct ieee80211_vif *vif,
|
||||
struct mt7921_sta *msta, struct ieee80211_key_conf *key,
|
||||
enum set_key_cmd cmd);
|
||||
int mt7921_set_channel(struct mt7921_phy *phy);
|
||||
int mt7921_mcu_sta_add(struct mt7921_dev *dev, struct ieee80211_sta *sta,
|
||||
struct ieee80211_vif *vif, bool enable);
|
||||
int mt7921_mcu_set_chan_info(struct mt7921_phy *phy, int cmd);
|
||||
|
||||
Reference in New Issue
Block a user