From: Johannes Berg Date: Tue, 7 Jul 2009 01:54:43 +0000 (+0200) Subject: mac80211: fix sparse warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=99783e2cde6eccbd31efeb03a79f26bb5f239c36;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git mac80211: fix sparse warning ieee80211_testmode_cmd can very well be static. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 36f8f245fa4c..52928ad90570 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -1293,7 +1293,7 @@ static void ieee80211_rfkill_poll(struct wiphy *wiphy) } #ifdef CONFIG_NL80211_TESTMODE -int ieee80211_testmode_cmd(struct wiphy *wiphy, void *data, int len) +static int ieee80211_testmode_cmd(struct wiphy *wiphy, void *data, int len) { struct ieee80211_local *local = wiphy_priv(wiphy);