mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 18:56:44 +07:00
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>
This commit is contained in:
parent
d9482e2b51
commit
4623ec7d97
@ -1126,7 +1126,7 @@ int wl1271_plt_start(struct wl1271 *wl)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int __wl1271_plt_stop(struct wl1271 *wl)
|
||||
static int __wl1271_plt_stop(struct wl1271 *wl)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
@ -2985,10 +2985,11 @@ static int wl1271_op_sta_remove(struct ieee80211_hw *hw,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user