diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-06 21:54:43 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-24 15:05:01 -0400 |
commit | 99783e2cde6eccbd31efeb03a79f26bb5f239c36 (patch) | |
tree | ca3e4849ccd3e297c28ab92c5c9d0b981a08853a /net | |
parent | 74d154189d597b91da4322996dbf4f5c3d1544ab (diff) |
mac80211: fix sparse warning
ieee80211_testmode_cmd can very well be static.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
1293 | } | 1293 | } |
1294 | 1294 | ||
1295 | #ifdef CONFIG_NL80211_TESTMODE | 1295 | #ifdef CONFIG_NL80211_TESTMODE |
1296 | int ieee80211_testmode_cmd(struct wiphy *wiphy, void *data, int len) | 1296 | static int ieee80211_testmode_cmd(struct wiphy *wiphy, void *data, int len) |
1297 | { | 1297 | { |
1298 | struct ieee80211_local *local = wiphy_priv(wiphy); | 1298 | struct ieee80211_local *local = wiphy_priv(wiphy); |
1299 | 1299 | ||