diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2009-09-01 09:14:00 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-09-01 12:48:26 -0400 |
commit | d041811d931d4f515fd58e222757cbc7d6375db4 (patch) | |
tree | 9eb685f20b720530f8ebe797e0e88a491628ab70 /drivers/net/wireless/iwmc3200wifi/cfg80211.c | |
parent | b90a5c9561d3f75f906a84613cc0071121143fb6 (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/cfg80211.c')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/cfg80211.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/cfg80211.c b/drivers/net/wireless/iwmc3200wifi/cfg80211.c index d8bb723d88d9..2784b089f491 100644 --- a/drivers/net/wireless/iwmc3200wifi/cfg80211.c +++ b/drivers/net/wireless/iwmc3200wifi/cfg80211.c | |||
@@ -238,8 +238,9 @@ static int iwm_cfg80211_set_default_key(struct wiphy *wiphy, | |||
238 | return iwm_set_tx_key(iwm, key_index); | 238 | return iwm_set_tx_key(iwm, key_index); |
239 | } | 239 | } |
240 | 240 | ||
241 | int iwm_cfg80211_get_station(struct wiphy *wiphy, struct net_device *ndev, | 241 | static int iwm_cfg80211_get_station(struct wiphy *wiphy, |
242 | u8 *mac, struct station_info *sinfo) | 242 | struct net_device *ndev, |
243 | u8 *mac, struct station_info *sinfo) | ||
243 | { | 244 | { |
244 | struct iwm_priv *iwm = ndev_to_iwm(ndev); | 245 | struct iwm_priv *iwm = ndev_to_iwm(ndev); |
245 | 246 | ||