提交 c7c361ef 编写于 作者: Y Yogesh Ashok Powar 提交者: John W. Linville

mwl8k: mwl8k_update_survey can be static

It fixes following sparse check warning
>#make C=1 CF=-D__CHECK_ENDIAN__ drivers/net/wireless/mwl8k.o
>drivers/net/wireless/mwl8k.c:3089:6: warning: symbol 'mwl8k_update_survey' was not declared. Should it be static?
Reported-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NNishant Sarmukadam <nishants@marvell.com>
Signed-off-by: NYogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 aa0bee1f
......@@ -3088,8 +3088,8 @@ static int freq_to_idx(struct mwl8k_priv *priv, int freq)
return idx;
}
void mwl8k_update_survey(struct mwl8k_priv *priv,
struct ieee80211_channel *channel)
static void mwl8k_update_survey(struct mwl8k_priv *priv,
struct ieee80211_channel *channel)
{
u32 cca_cnt, rx_rdy;
s8 nf = 0, idx;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册