diff options
author | Yogesh Ashok Powar <yogeshp@marvell.com> | 2014-03-06 16:12:58 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-06 20:29:58 +0100 |
commit | c7c361efc49681962c5361e55a56d7ad8f5654a7 (patch) | |
tree | 68e1466ceb4fe9d7d713eb1913f25d99ea612038 /drivers/net/wireless/mwl8k.c | |
parent | mwl8k: le32_to_cpu cast to restricted (diff) | |
download | linux-c7c361efc49681962c5361e55a56d7ad8f5654a7.tar.xz linux-c7c361efc49681962c5361e55a56d7ad8f5654a7.zip |
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>
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 4 |
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: 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; |