diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-05-31 02:33:14 +0000 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-06-14 18:10:31 +0300 |
commit | 6ee0e175a33deea08354bc8a91b743f0ec8c8a0a (patch) | |
tree | 463d50c4692b2e3c7b53607980b9e2a8239ba500 | |
parent | 2e9bcd0d73243f5e49daf92508d64cc33c30da01 (diff) | |
download | linux-stable-6ee0e175a33deea08354bc8a91b743f0ec8c8a0a.tar.gz linux-stable-6ee0e175a33deea08354bc8a91b743f0ec8c8a0a.tar.bz2 linux-stable-6ee0e175a33deea08354bc8a91b743f0ec8c8a0a.zip |
ath10k: make some functions static
Fixes the following sparse warnings:
drivers/net/wireless/ath/ath10k/snoc.c:823:5: warning:
symbol 'ath10k_snoc_get_ce_id_from_irq' was not declared. Should it be static?
drivers/net/wireless/ath/ath10k/snoc.c:871:6: warning:
symbol 'ath10k_snoc_init_napi' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r-- | drivers/net/wireless/ath/ath10k/snoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c index a3a7042fe13a..92ddb1c38c06 100644 --- a/drivers/net/wireless/ath/ath10k/snoc.c +++ b/drivers/net/wireless/ath/ath10k/snoc.c @@ -820,7 +820,7 @@ static const struct ath10k_bus_ops ath10k_snoc_bus_ops = { .write32 = ath10k_snoc_write32, }; -int ath10k_snoc_get_ce_id_from_irq(struct ath10k *ar, int irq) +static int ath10k_snoc_get_ce_id_from_irq(struct ath10k *ar, int irq) { struct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar); int i; @@ -868,7 +868,7 @@ static int ath10k_snoc_napi_poll(struct napi_struct *ctx, int budget) return done; } -void ath10k_snoc_init_napi(struct ath10k *ar) +static void ath10k_snoc_init_napi(struct ath10k *ar) { netif_napi_add(&ar->napi_dev, &ar->napi, ath10k_snoc_napi_poll, ATH10K_NAPI_BUDGET); |