mac80211: make a function static
Johannes Berg
maintainerPATCH 1/1 mac80211: make a function static
sparse correctly complains that__ieee80211_get_channel_mode is not static.
Signed-off-by Johannes Berg <[email protected]>
--- 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) {