summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rsi/rsi_common.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-10-24 02:29:09 -0700
committerKalle Valo <kvalo@codeaurora.org>2017-10-27 10:47:00 +0300
commitdfefb9f8d082b609197f7ea852333e7a5ecc9563 (patch)
treece623ab0f7fde4208df2d242bc09257f8fd6bd6b /drivers/net/wireless/rsi/rsi_common.h
parente3dcf8bbeb0c58df475cad58e2dc267a5c02ae20 (diff)
downloadlinux-dfefb9f8d082b609197f7ea852333e7a5ecc9563.tar.bz2
drivers/wireless: rsi: Convert timers to use timer_setup()
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Kalle Valo <kvalo@codeaurora.org> Cc: Amitkumar Karwar <amit.karwar@redpinesignals.com> Cc: Prameela Rani Garnepudi <prameela.j04cs@gmail.com> Cc: Pavani Muthyala <pavani.muthyala@redpinesignals.com> Cc: Karun Eagalapati <karun256@gmail.com> Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rsi/rsi_common.h')
-rw-r--r--drivers/net/wireless/rsi/rsi_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rsi/rsi_common.h b/drivers/net/wireless/rsi/rsi_common.h
index 272e18d750ff..29acaea3636d 100644
--- a/drivers/net/wireless/rsi/rsi_common.h
+++ b/drivers/net/wireless/rsi/rsi_common.h
@@ -85,5 +85,5 @@ void rsi_91x_deinit(struct rsi_hw *adapter);
int rsi_read_pkt(struct rsi_common *common, s32 rcv_pkt_len);
struct rsi_sta *rsi_find_sta(struct rsi_common *common, u8 *mac_addr);
struct ieee80211_vif *rsi_get_vif(struct rsi_hw *adapter, u8 *mac);
-void rsi_roc_timeout(unsigned long data);
+void rsi_roc_timeout(struct timer_list *t);
#endif