summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8712/rtl871x_xmit.h
diff options
context:
space:
mode:
authorAllen Pais <apais@linux.microsoft.com>2020-09-16 09:18:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-16 14:13:00 +0300
commit1062aa9e99e6d9190327c86d8685140d621fc439 (patch)
tree9ccb5ce2f2fbdb8a0b4ea89becef4276e7dc5302 /drivers/staging/rtl8712/rtl871x_xmit.h
parent02c4260713d62eff0875ca4a47019cd56371ffa7 (diff)
downloadlinux-1062aa9e99e6d9190327c86d8685140d621fc439.tar.xz
staging: rtl8712: 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. Signed-off-by: Romain Perier <romain.perier@gmail.com> Signed-off-by: Allen Pais <apais@linux.microsoft.com> Link: https://lore.kernel.org/r/20200916061831.57848-1-allen.lkml@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_xmit.h')
-rw-r--r--drivers/staging/rtl8712/rtl871x_xmit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_xmit.h b/drivers/staging/rtl8712/rtl871x_xmit.h
index c0c0c781fe17..cc58c7216935 100644
--- a/drivers/staging/rtl8712/rtl871x_xmit.h
+++ b/drivers/staging/rtl8712/rtl871x_xmit.h
@@ -277,7 +277,7 @@ int r8712_pre_xmit(struct _adapter *padapter, struct xmit_frame *pxmitframe);
int r8712_xmit_enqueue(struct _adapter *padapter,
struct xmit_frame *pxmitframe);
void r8712_xmit_direct(struct _adapter *padapter, struct xmit_frame *pxmitframe);
-void r8712_xmit_bh(unsigned long priv);
+void r8712_xmit_bh(struct tasklet_struct *t);
void xmitframe_xmitbuf_attach(struct xmit_frame *pxmitframe,
struct xmit_buf *pxmitbuf);