summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/int.c
diff options
context:
space:
mode:
authorAndres More <more.andres@gmail.com>2010-05-06 20:34:29 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-11 14:18:23 -0700
commit0cbd8d9854284d3ff38d04aaa3ae726fb1c4a958 (patch)
treef30d02ef8bb18f92909f0ff7feba92f06bd67e73 /drivers/staging/vt6656/int.c
parent3afc7cc38c75d645855d680f0fad7d342f8e7fb2 (diff)
staging: vt6656: code cleanup, removed HANDLE definition in ttype.h
Checkpatch warnings about using externs in .c files were not resolved, neither some long lines on deeply nested code. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/int.c')
-rw-r--r--drivers/staging/vt6656/int.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/vt6656/int.c b/drivers/staging/vt6656/int.c
index 2ba20893ce73..89f5b18bdf1f 100644
--- a/drivers/staging/vt6656/int.c
+++ b/drivers/staging/vt6656/int.c
@@ -160,11 +160,11 @@ INTnsProcessData(PSDevice pDevice)
pMgmt->byDTIMPeriod-1;
pMgmt->sNodeDBTable[0].bRxPSPoll = TRUE;
if (pMgmt->sNodeDBTable[0].bPSEnable)
- bScheduleCommand((HANDLE)pDevice,
- WLAN_CMD_RX_PSPOLL,
- NULL);
+ bScheduleCommand((void *) pDevice,
+ WLAN_CMD_RX_PSPOLL,
+ NULL);
}
- bScheduleCommand((HANDLE)pDevice,
+ bScheduleCommand((void *) pDevice,
WLAN_CMD_BECON_SEND,
NULL);
} /* if (pDevice->eOPMode == OP_MODE_AP) */
@@ -174,13 +174,13 @@ INTnsProcessData(PSDevice pDevice)
}
if (pINTData->byISR0 & ISR_TBTT) {
if (pDevice->bEnablePSMode)
- bScheduleCommand((HANDLE) pDevice,
+ bScheduleCommand((void *) pDevice,
WLAN_CMD_TBTT_WAKEUP,
NULL);
if (pDevice->bChannelSwitch) {
pDevice->byChannelSwitchCount--;
if (pDevice->byChannelSwitchCount == 0)
- bScheduleCommand((HANDLE) pDevice,
+ bScheduleCommand((void *) pDevice,
WLAN_CMD_11H_CHSW,
NULL);
}
@@ -207,7 +207,7 @@ INTnsProcessData(PSDevice pDevice)
if (pINTData->byISR1 != 0)
if (pINTData->byISR1 & ISR_GPIO3)
- bScheduleCommand((HANDLE) pDevice,
+ bScheduleCommand((void *) pDevice,
WLAN_CMD_RADIO,
NULL);
pDevice->intBuf.uDataLen = 0;