mirror of https://gitee.com/openkylin/linux.git
iwmc3200wifi: Fix sparse warning
iwm_cfg80211_get_station() should be static. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
b90a5c9561
commit
d041811d93
|
@ -238,8 +238,9 @@ static int iwm_cfg80211_set_default_key(struct wiphy *wiphy,
|
||||||
return iwm_set_tx_key(iwm, key_index);
|
return iwm_set_tx_key(iwm, key_index);
|
||||||
}
|
}
|
||||||
|
|
||||||
int iwm_cfg80211_get_station(struct wiphy *wiphy, struct net_device *ndev,
|
static int iwm_cfg80211_get_station(struct wiphy *wiphy,
|
||||||
u8 *mac, struct station_info *sinfo)
|
struct net_device *ndev,
|
||||||
|
u8 *mac, struct station_info *sinfo)
|
||||||
{
|
{
|
||||||
struct iwm_priv *iwm = ndev_to_iwm(ndev);
|
struct iwm_priv *iwm = ndev_to_iwm(ndev);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue