Skip to content

Commit

Permalink
mac80211: make a function static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and John W. Linville committed May 28, 2010
1 parent c6a6368 commit 368a07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mac80211/chan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 368a07d

Please sign in to comment.