Skip to content

Commit

Permalink
hwsim: make testmode_cmd static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and John W. Linville committed Jul 10, 2009
1 parent 0b20633 commit 5bc3819
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/wireless/mac80211_hwsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,8 @@ static const struct nla_policy hwsim_testmode_policy[HWSIM_TM_ATTR_MAX + 1] = {

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];
Expand Down

0 comments on commit 5bc3819

Please sign in to comment.