Search Linux Wireless

[PATCH] hwsim: make testmode_cmd static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
---
 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];


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux