aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/main.c
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-03-21 19:26:41 +0200
committerLuciano Coelho <coelho@ti.com>2011-04-19 16:49:11 +0300
commit4623ec7d97afaf7a8489036e2c2e71e8349716b4 (patch)
tree626c7f0e9fff2a49c247a4035998c29bb82742b6 /drivers/net/wireless/wl12xx/main.c
parentd9482e2b5132fd40f8de528af6bb715accbab11d (diff)
downloadkernel_samsung_smdk4412-4623ec7d97afaf7a8489036e2c2e71e8349716b4.zip
kernel_samsung_smdk4412-4623ec7d97afaf7a8489036e2c2e71e8349716b4.tar.gz
kernel_samsung_smdk4412-4623ec7d97afaf7a8489036e2c2e71e8349716b4.tar.bz2
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/net/wireless/wl12xx/main.c')
-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 916ebd1..85cb4da 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -1126,7 +1126,7 @@ out:
return ret;
}
-int __wl1271_plt_stop(struct wl1271 *wl)
+static int __wl1271_plt_stop(struct wl1271 *wl)
{
int ret = 0;
@@ -2985,10 +2985,11 @@ out:
return ret;
}
-int wl1271_op_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
- enum ieee80211_ampdu_mlme_action action,
- struct ieee80211_sta *sta, u16 tid, u16 *ssn,
- u8 buf_size)
+static int wl1271_op_ampdu_action(struct ieee80211_hw *hw,
+ struct ieee80211_vif *vif,
+ enum ieee80211_ampdu_mlme_action action,
+ struct ieee80211_sta *sta, u16 tid, u16 *ssn,
+ u8 buf_size)
{
struct wl1271 *wl = hw->priv;
int ret;