mac80211: make a function static
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 28 May 2010 12:26:23 +0000 (14:26 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 May 2010 17:41:27 +0000 (13:41 -0400)
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>
net/mac80211/chan.c

index 5d218c530a4efae71826f33ac3b7868d741dd897..32be11e4c4d92dbe9d34d8cae84d7e0a482e8882 100644 (file)
@@ -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)
 {