Skip to contentSkip to conversation

mac80211: make a function static

PATCH New Johannes Berg 1 participant 1 message May 28, 2010 mac80211

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 mac80211: make a function static

sparse correctly complains that
__ieee80211_get_channel_mode is not static.

---
 net/mac80211/chan.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/mac80211/chan.c +1 -1
@@ -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)
 {