summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/baseband.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-10-29 17:56:02 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-29 13:34:47 -0700
commite11cdc39f381e541fbdc2eccf2c4fce910a4f2bb (patch)
treee07e03f57b64c57cc2562a8529dcb927301c0606 /drivers/staging/vt6655/baseband.c
parentdd46cf735d3c95c6f5996716e55934ed40ad4d01 (diff)
downloadblackbird-obmc-linux-e11cdc39f381e541fbdc2eccf2c4fce910a4f2bb.tar.gz
blackbird-obmc-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");
OpenPOWER on IntegriCloud