From fe5d00ebd348621ce34bb4982271f7b1c45e6700 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Mon, 10 Dec 2012 22:14:36 +0000 Subject: 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/channel.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'drivers/staging/vt6656/channel.c') 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; -- cgit v1.1