Commit 46bc92be authored by Kalle Valo's avatar Kalle Valo

ath10k: fix warnings from an earlier commit

I failed to notice that commit 523f6701 ("ath10k: update available channel
list for 5G radio") added two new warnings:

drivers/net/wireless/ath/ath10k/mac.c:3129:6: warning: symbol 'ath10k_mac_update_channel_list' was not declared. Should it be static?
drivers/net/wireless/ath/ath10k/mac.c:3170: Alignment should match open parenthesis

Fix those.
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent a28f6f27
...@@ -3126,7 +3126,7 @@ static void ath10k_regd_update(struct ath10k *ar) ...@@ -3126,7 +3126,7 @@ static void ath10k_regd_update(struct ath10k *ar)
ath10k_warn(ar, "failed to set pdev regdomain: %d\n", ret); ath10k_warn(ar, "failed to set pdev regdomain: %d\n", ret);
} }
void ath10k_mac_update_channel_list(struct ath10k *ar, static void ath10k_mac_update_channel_list(struct ath10k *ar,
struct ieee80211_supported_band *band) struct ieee80211_supported_band *band)
{ {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment