summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/baseband.c
diff options
context:
space:
mode:
authorMalcolm Priestley2014-10-29 18:56:02 +0100
committerGreg Kroah-Hartman2014-10-29 21:34:47 +0100
commite11cdc39f381e541fbdc2eccf2c4fce910a4f2bb (patch)
treee07e03f57b64c57cc2562a8529dcb927301c0606 /drivers/staging/vt6655/baseband.c
parentstaging: vt6655: dead code remove 80211hdr.h (diff)
downloadkernel-qcow2-linux-e11cdc39f381e541fbdc2eccf2c4fce910a4f2bb.tar.gz
kernel-qcow2-linux-e11cdc39f381e541fbdc2eccf2c4fce910a4f2bb.tar.xz
kernel-qcow2-linux-e11cdc39f381e541fbdc2eccf2c4fce910a4f2bb.zip
staging: vt6655: remove typedef void *TimerFunction
Covert functions TimerSQ3CallBack and TimerState1CallBack to the correct type for struct timer_list.function to remove the cast altogether. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/baseband.c')
-rw-r--r--drivers/staging/vt6655/baseband.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/vt6655/baseband.c b/drivers/staging/vt6655/baseband.c
index ed7850558c96..b04dfd945d41 100644
--- a/drivers/staging/vt6655/baseband.c
+++ b/drivers/staging/vt6655/baseband.c
@@ -2781,10 +2781,10 @@ void BBvAntennaDiversity(struct vnt_private *pDevice,
void
TimerSQ3CallBack(
- void *hDeviceContext
+ unsigned long data
)
{
- struct vnt_private *pDevice = hDeviceContext;
+ struct vnt_private *pDevice = (struct vnt_private *)data;
unsigned long flags;
pr_debug("TimerSQ3CallBack...\n");
@@ -2827,10 +2827,10 @@ TimerSQ3CallBack(
void
TimerState1CallBack(
- void *hDeviceContext
+ unsigned long data
)
{
- struct vnt_private *pDevice = hDeviceContext;
+ struct vnt_private *pDevice = (struct vnt_private *)data;
unsigned long flags;
pr_debug("TimerState1CallBack...\n");