aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-03-21 13:26:41 -0400
committerLuciano Coelho <coelho@ti.com>2011-04-19 09:49:11 -0400
commit4623ec7d97afaf7a8489036e2c2e71e8349716b4 (patch)
tree626c7f0e9fff2a49c247a4035998c29bb82742b6 /drivers
parentd9482e2b5132fd40f8de528af6bb715accbab11d (diff)
wl12xx: fix a couple of sparse warnings about undeclared functions
Fix the following sparse warnings: drivers/net/wireless/wl12xx/main.c:1129:5: warning: symbol '__wl1271_plt_stop' was not declared. Should it be static? drivers/net/wireless/wl12xx/main.c:2988:5: warning: symbol 'wl1271_op_ampdu_action' was not declared. Should it be static? Both functions should be static. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/wl12xx/main.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 916ebd1d414c..85cb4daac9a0 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -1126,7 +1126,7 @@ out:
1126 return ret; 1126 return ret;
1127} 1127}
1128 1128
1129int __wl1271_plt_stop(struct wl1271 *wl) 1129static int __wl1271_plt_stop(struct wl1271 *wl)
1130{ 1130{
1131 int ret = 0; 1131 int ret = 0;
1132 1132
@@ -2985,10 +2985,11 @@ out:
2985 return ret; 2985 return ret;
2986} 2986}
2987 2987
2988int wl1271_op_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 2988static int wl1271_op_ampdu_action(struct ieee80211_hw *hw,
2989 enum ieee80211_ampdu_mlme_action action, 2989 struct ieee80211_vif *vif,
2990 struct ieee80211_sta *sta, u16 tid, u16 *ssn, 2990 enum ieee80211_ampdu_mlme_action action,
2991 u8 buf_size) 2991 struct ieee80211_sta *sta, u16 tid, u16 *ssn,
2992 u8 buf_size)
2992{ 2993{
2993 struct wl1271 *wl = hw->priv; 2994 struct wl1271 *wl = hw->priv;
2994 int ret; 2995 int ret;