diff options
author | Allen Pais <allen.lkml@gmail.com> | 2020-08-17 14:36:36 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-08-27 16:22:14 +0300 |
commit | d3ccc14dfe9595d5ecd247db27bd66a1343f315a (patch) | |
tree | 6bc8c5e3249e51e8e3498fb47dc9be84a7bdd1ed /drivers/net/wireless/realtek/rtw88/tx.h | |
parent | a0d6ea9b6e1cc4aef606bd8f3f098f7da4eb34d5 (diff) |
rtlwifi/rtw88: convert tasklets to use new tasklet_setup() API
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly
and remove .data field.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <allen.lkml@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200817090637.26887-16-allen.cryptic@gmail.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw88/tx.h')
-rw-r--r-- | drivers/net/wireless/realtek/rtw88/tx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtw88/tx.h b/drivers/net/wireless/realtek/rtw88/tx.h index cfe84eef5923..6673dbcaa21c 100644 --- a/drivers/net/wireless/realtek/rtw88/tx.h +++ b/drivers/net/wireless/realtek/rtw88/tx.h @@ -94,7 +94,7 @@ void rtw_tx(struct rtw_dev *rtwdev, struct sk_buff *skb); void rtw_txq_init(struct rtw_dev *rtwdev, struct ieee80211_txq *txq); void rtw_txq_cleanup(struct rtw_dev *rtwdev, struct ieee80211_txq *txq); -void rtw_tx_tasklet(unsigned long data); +void rtw_tx_tasklet(struct tasklet_struct *t); void rtw_tx_pkt_info_update(struct rtw_dev *rtwdev, struct rtw_tx_pkt_info *pkt_info, struct ieee80211_sta *sta, |