staging: vt6656: BBvSetShortSlotTime remove camel case.

pDevice -> priv
byBBVGA -> bb_vga

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2014-05-19 20:33:05 +01:00 committed by Greg Kroah-Hartman
parent 53dab3280b
commit 4bdb312028
1 changed files with 11 additions and 10 deletions

View File

@ -1078,27 +1078,28 @@ int BBbVT3184Init(struct vnt_private *priv)
* *
* Parameters: * Parameters:
* In: * In:
* pDevice - Device Structure * priv - Device Structure
* Out: * Out:
* none * none
* *
* Return Value: none * Return Value: none
* *
*/ */
void BBvSetShortSlotTime(struct vnt_private *pDevice) void BBvSetShortSlotTime(struct vnt_private *priv)
{ {
u8 byBBVGA=0; u8 bb_vga = 0;
if (pDevice->bShortSlotTime) if (priv->bShortSlotTime)
pDevice->byBBRxConf &= 0xDF;//1101 1111 priv->byBBRxConf &= 0xdf;
else else
pDevice->byBBRxConf |= 0x20;//0010 0000 priv->byBBRxConf |= 0x20;
ControlvReadByte (pDevice, MESSAGE_REQUEST_BBREG, 0xE7, &byBBVGA); ControlvReadByte(priv, MESSAGE_REQUEST_BBREG, 0xe7, &bb_vga);
if (byBBVGA == pDevice->abyBBVGA[0])
pDevice->byBBRxConf |= 0x20;//0010 0000
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0x0A, pDevice->byBBRxConf); if (bb_vga == priv->abyBBVGA[0])
priv->byBBRxConf |= 0x20;
ControlvWriteByte(priv, MESSAGE_REQUEST_BBREG, 0x0a, priv->byBBRxConf);
} }
void BBvSetVGAGainOffset(struct vnt_private *pDevice, u8 byData) void BBvSetVGAGainOffset(struct vnt_private *pDevice, u8 byData)