From: Johannes Berg Date: Fri, 28 May 2010 12:26:23 +0000 (+0200) Subject: mac80211: make a function static X-Git-Tag: v2.6.35-rc2~4^2~7^2~4 X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=commitdiff_plain;h=368a07d26ae99c80678a968946744fd83e7708d0 mac80211: make a function static sparse correctly complains that __ieee80211_get_channel_mode is not static. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- diff --git a/net/mac80211/chan.c b/net/mac80211/chan.c index 5d218c5..32be11e 100644 --- a/net/mac80211/chan.c +++ b/net/mac80211/chan.c @@ -5,7 +5,7 @@ #include #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) {