projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6a6368
)
mac80211: make a function static
author
Johannes Berg
<johannes@sipsolutions.net>
Fri, 28 May 2010 12:26:23 +0000
(14:26 +0200)
committer
John 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
patch
|
blob
|
history
diff --git
a/net/mac80211/chan.c
b/net/mac80211/chan.c
index
5d218c5
..
32be11e
100644
(file)
--- a/
net/mac80211/chan.c
+++ b/
net/mac80211/chan.c
@@
-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)
{