mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
0b20633d96
commit
5bc38193c1
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
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 mac80211_hwsim_data *hwsim = hw->priv;
|
||||||
struct nlattr *tb[HWSIM_TM_ATTR_MAX + 1];
|
struct nlattr *tb[HWSIM_TM_ATTR_MAX + 1];
|
||||||
|
|
Loading…
Reference in a new issue