summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/int.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2012-12-10 22:14:36 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-07 11:13:33 -0800
commitfe5d00ebd348621ce34bb4982271f7b1c45e6700 (patch)
tree5fecefbdb22be0caa03d8e5a1453555ad1202123 /drivers/staging/vt6656/int.c
parentda033bfd7a016c0a143db0a2345c4312a35ed896 (diff)
downloadlinux-stable-fe5d00ebd348621ce34bb4982271f7b1c45e6700.tar.gz
linux-stable-fe5d00ebd348621ce34bb4982271f7b1c45e6700.tar.bz2
linux-stable-fe5d00ebd348621ce34bb4982271f7b1c45e6700.zip
staging: vt6656: channel/control/firmware/int/usbpipe to new structures
This patch cleans up function declarations, definitions and local variables where appropriate replacing types defined in "ttype.h" with linux/types.h. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/int.c')
-rw-r--r--drivers/staging/vt6656/int.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/vt6656/int.c b/drivers/staging/vt6656/int.c
index 7718ac21039e..97c6896bd3b2 100644
--- a/drivers/staging/vt6656/int.c
+++ b/drivers/staging/vt6656/int.c
@@ -75,9 +75,8 @@ static int msglevel = MSG_LEVEL_INFO; /* MSG_LEVEL_DEBUG */
* if we've gotten no data
*
-*/
-void INTvWorkItem(void *Context)
+void INTvWorkItem(struct vnt_private *pDevice)
{
- PSDevice pDevice = Context;
int ntStatus;
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->Interrupt Polling Thread\n");
@@ -88,10 +87,10 @@ void INTvWorkItem(void *Context)
spin_unlock_irq(&pDevice->lock);
}
-void INTnsProcessData(PSDevice pDevice)
+void INTnsProcessData(struct vnt_private *pDevice)
{
PSINTData pINTData;
- PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
+ struct vnt_manager *pMgmt = &pDevice->vnt_mgmt;
struct net_device_stats *pStats = &pDevice->stats;
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->s_nsInterruptProcessData\n");