diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2012-12-10 22:14:36 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 11:13:33 -0800 |
commit | fe5d00ebd348621ce34bb4982271f7b1c45e6700 (patch) | |
tree | 5fecefbdb22be0caa03d8e5a1453555ad1202123 /drivers/staging/vt6656/channel.c | |
parent | da033bfd7a016c0a143db0a2345c4312a35ed896 (diff) | |
download | op-kernel-dev-fe5d00ebd348621ce34bb4982271f7b1c45e6700.zip op-kernel-dev-fe5d00ebd348621ce34bb4982271f7b1c45e6700.tar.gz |
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/channel.c')
-rw-r--r-- | drivers/staging/vt6656/channel.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/vt6656/channel.c b/drivers/staging/vt6656/channel.c index 6502176..95f00ba 100644 --- a/drivers/staging/vt6656/channel.c +++ b/drivers/staging/vt6656/channel.c @@ -436,11 +436,10 @@ CHvChannelGetList ( } -void CHvInitChannelTable(void *pDeviceHandler) +void CHvInitChannelTable(struct vnt_private *pDevice) { - PSDevice pDevice = (PSDevice) pDeviceHandler; - BOOL bMultiBand = FALSE; - unsigned int ii; + int bMultiBand = FALSE; + int ii; for (ii = 1; ii <= CB_MAX_CHANNEL; ii++) sChannelTbl[ii].bValid = FALSE; |