diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-05-28 08:26:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-05-28 13:41:27 -0400 |
commit | 368a07d26ae99c80678a968946744fd83e7708d0 (patch) | |
tree | 40284ed5b7a683ce44f95e479fcd3c996090442e /net | |
parent | c6a6368b32aa4fd145e840c8d8dac6923fae2688 (diff) |
mac80211: make a function static
sparse correctly complains that
__ieee80211_get_channel_mode is not 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/chan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/chan.c b/net/mac80211/chan.c index 5d218c530a4..32be11e4c4d 100644 --- a/net/mac80211/chan.c +++ b/net/mac80211/chan.c | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <linux/nl80211.h> | 5 | #include <linux/nl80211.h> |
6 | #include "ieee80211_i.h" | 6 | #include "ieee80211_i.h" |
7 | 7 | ||
8 | enum ieee80211_chan_mode | 8 | static enum ieee80211_chan_mode |
9 | __ieee80211_get_channel_mode(struct ieee80211_local *local, | 9 | __ieee80211_get_channel_mode(struct ieee80211_local *local, |
10 | struct ieee80211_sub_if_data *ignore) | 10 | struct ieee80211_sub_if_data *ignore) |
11 | { | 11 | { |