* [PATCH] mac80211: fix sparse warning
@ 2009-07-07 1:54 Johannes Berg
0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2009-07-07 1:54 UTC (permalink / raw)
To: John Linville; +Cc: linux-wireless
ieee80211_testmode_cmd can very well be static.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
net/mac80211/cfg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- wireless-testing.orig/net/mac80211/cfg.c 2009-07-07 03:53:56.000000000 +0200
+++ wireless-testing/net/mac80211/cfg.c 2009-07-07 03:53:58.000000000 +0200
@@ -1289,7 +1289,7 @@ static void ieee80211_rfkill_poll(struct
}
#ifdef CONFIG_NL80211_TESTMODE
-int ieee80211_testmode_cmd(struct wiphy *wiphy, void *data, int len)
+static int ieee80211_testmode_cmd(struct wiphy *wiphy, void *data, int len)
{
struct ieee80211_local *local = wiphy_priv(wiphy);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-07-07 1:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-07 1:54 [PATCH] mac80211: fix sparse warning Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox