From: Yogesh Ashok Powar Date: Thu, 6 Mar 2014 15:12:58 +0000 (+0530) Subject: mwl8k: mwl8k_update_survey can be static X-Git-Tag: accepted/tizen/common/20141203.182822~316^2~18^2^2~139 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7c361efc49681962c5361e55a56d7ad8f5654a7;p=platform%2Fkernel%2Flinux-arm64.git 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 Signed-off-by: Nishant Sarmukadam Signed-off-by: Yogesh Ashok Powar Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index 706a445..3c0a0a8 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;