sparse correctly complains about this, no reason
for it not to be static.
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
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];