diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-07 05:00:55 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 15:02:34 -0400 |
commit | 5bc38193c1793e240a7e0b93f129606931e35fdb (patch) | |
tree | ba18e8ed2b3f8b9e8b543d8ed3be0991b8a7045e /drivers/net/wireless/mac80211_hwsim.c | |
parent | 0b20633d966eb08506f8796544aef7a9ab5f3544 (diff) |
hwsim: make testmode_cmd static
sparse correctly complains about this, no reason
for it not to be static.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 6ac8565072e9..4befa48dbc34 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -729,7 +729,8 @@ static const struct nla_policy hwsim_testmode_policy[HWSIM_TM_ATTR_MAX + 1] = { | |||
729 | 729 | ||
730 | static int hwsim_fops_ps_write(void *dat, u64 val); | 730 | static int hwsim_fops_ps_write(void *dat, u64 val); |
731 | 731 | ||
732 | int mac80211_hwsim_testmode_cmd(struct ieee80211_hw *hw, void *data, int len) | 732 | static int mac80211_hwsim_testmode_cmd(struct ieee80211_hw *hw, |
733 | void *data, int len) | ||
733 | { | 734 | { |
734 | struct mac80211_hwsim_data *hwsim = hw->priv; | 735 | struct mac80211_hwsim_data *hwsim = hw->priv; |
735 | struct nlattr *tb[HWSIM_TM_ATTR_MAX + 1]; | 736 | struct nlattr *tb[HWSIM_TM_ATTR_MAX + 1]; |