* [PATCH] mac80211: make a function static
@ 2010-05-28 12:26 Johannes Berg
0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2010-05-28 12:26 UTC (permalink / raw)
To: John Linville; +Cc: linux-wireless
sparse correctly complains that
__ieee80211_get_channel_mode is not static.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
net/mac80211/chan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- wireless-testing.orig/net/mac80211/chan.c 2010-05-28 14:24:30.000000000 +0200
+++ wireless-testing/net/mac80211/chan.c 2010-05-28 14:24:33.000000000 +0200
@@ -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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-28 12:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-28 12:26 [PATCH] mac80211: make a function static Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).