summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2010-05-28 16:26:23 +0400
committerJohn W. Linville <linville@tuxdriver.com>2010-05-28 21:41:27 +0400
commit368a07d26ae99c80678a968946744fd83e7708d0 (patch)
tree40284ed5b7a683ce44f95e479fcd3c996090442e /net
parentc6a6368b32aa4fd145e840c8d8dac6923fae2688 (diff)
downloadlinux-368a07d26ae99c80678a968946744fd83e7708d0.tar.xz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/chan.c b/net/mac80211/chan.c
index 5d218c530a4e..32be11e4c4d9 100644
--- a/net/mac80211/chan.c
+++ b/net/mac80211/chan.c
@@ -5,7 +5,7 @@
#include <linux/nl80211.h>
#include "ieee80211_i.h"
-enum ieee80211_chan_mode
+static enum ieee80211_chan_mode
__ieee80211_get_channel_mode(struct ieee80211_local *local,
struct ieee80211_sub_if_data *ignore)
{