diff options
author | Malcolm Priestley | 2012-12-10 23:14:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-01-07 20:13:33 +0100 |
commit | fe5d00ebd348621ce34bb4982271f7b1c45e6700 (patch) | |
tree | 5fecefbdb22be0caa03d8e5a1453555ad1202123 /drivers/staging/vt6656/int.c | |
parent | staging: vt6656: iwctl/key/rf use new structures. (diff) | |
download | kernel-qcow2-linux-fe5d00ebd348621ce34bb4982271f7b1c45e6700.tar.gz kernel-qcow2-linux-fe5d00ebd348621ce34bb4982271f7b1c45e6700.tar.xz kernel-qcow2-linux-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.c | 7 |
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"); |