aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYogesh Ashok Powar <yogeshp@marvell.com>2014-03-06 10:12:58 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-03-06 14:29:58 -0500
commitc7c361efc49681962c5361e55a56d7ad8f5654a7 (patch)
tree68e1466ceb4fe9d7d713eb1913f25d99ea612038
parentaa0bee1f409f76222ed009980425dbf12bc7133b (diff)
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: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Nishant Sarmukadam <nishants@marvell.com> Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/mwl8k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index 706a445dba37..3c0a0a86ba12 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -3088,8 +3088,8 @@ exit:
3088 return idx; 3088 return idx;
3089} 3089}
3090 3090
3091void mwl8k_update_survey(struct mwl8k_priv *priv, 3091static void mwl8k_update_survey(struct mwl8k_priv *priv,
3092 struct ieee80211_channel *channel) 3092 struct ieee80211_channel *channel)
3093{ 3093{
3094 u32 cca_cnt, rx_rdy; 3094 u32 cca_cnt, rx_rdy;
3095 s8 nf = 0, idx; 3095 s8 nf = 0, idx;