]> Git Repo - linux.git/commitdiff
iwmc3200wifi: Fix sparse warning
authorSamuel Ortiz <[email protected]>
Tue, 1 Sep 2009 13:14:00 +0000 (15:14 +0200)
committerJohn W. Linville <[email protected]>
Tue, 1 Sep 2009 16:48:26 +0000 (12:48 -0400)
iwm_cfg80211_get_station() should be static.

Signed-off-by: Samuel Ortiz <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/iwmc3200wifi/cfg80211.c

index d8bb723d88d9c89a2ba4606efd0e10f6026c3665..2784b089f491b7e74245e290ded1dd7cfb2c0118 100644 (file)
@@ -238,8 +238,9 @@ static int iwm_cfg80211_set_default_key(struct wiphy *wiphy,
        return iwm_set_tx_key(iwm, key_index);
 }
 
-int iwm_cfg80211_get_station(struct wiphy *wiphy, struct net_device *ndev,
-                            u8 *mac, struct station_info *sinfo)
+static int iwm_cfg80211_get_station(struct wiphy *wiphy,
+                                   struct net_device *ndev,
+                                   u8 *mac, struct station_info *sinfo)
 {
        struct iwm_priv *iwm = ndev_to_iwm(ndev);
 
This page took 0.04676 seconds and 4 git commands to generate.