Commit 368a07d26ae99c80678a968946744fd83e7708d0

Authored by Johannes Berg
Committed by John W. Linville
1 parent c6a6368b32

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -5,7 +5,7 @@
5 5 #include <linux/nl80211.h>
6 6 #include "ieee80211_i.h"
7 7  
8   -enum ieee80211_chan_mode
  8 +static enum ieee80211_chan_mode
9 9 __ieee80211_get_channel_mode(struct ieee80211_local *local,
10 10 struct ieee80211_sub_if_data *ignore)
11 11 {