public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hwsim: make testmode_cmd static
@ 2009-07-07  9:00 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2009-07-07  9:00 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless

sparse correctly complains about this, no reason
for it not to be static.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
 drivers/net/wireless/mac80211_hwsim.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- wireless-testing.orig/drivers/net/wireless/mac80211_hwsim.c	2009-07-07 10:59:44.000000000 +0200
+++ wireless-testing/drivers/net/wireless/mac80211_hwsim.c	2009-07-07 10:59:59.000000000 +0200
@@ -729,7 +729,8 @@ static const struct nla_policy hwsim_tes
 
 static int hwsim_fops_ps_write(void *dat, u64 val);
 
-int mac80211_hwsim_testmode_cmd(struct ieee80211_hw *hw, void *data, int len)
+static int mac80211_hwsim_testmode_cmd(struct ieee80211_hw *hw,
+				       void *data, int len)
 {
 	struct mac80211_hwsim_data *hwsim = hw->priv;
 	struct nlattr *tb[HWSIM_TM_ATTR_MAX + 1];



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-07  9:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-07  9:00 [PATCH] hwsim: make testmode_cmd 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