staging: vt6656: camel case clean up MACvDisableProtectMD

camel case changes
pDevice -> priv
pbyData -> data

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-23 18:00:11 +01:00 committed by Greg Kroah-Hartman
parent a7ecb9d3ea
commit 04cc8ef525
1 changed files with 6 additions and 11 deletions

View File

@ -231,20 +231,15 @@ void MACvEnableProtectMD(struct vnt_private *priv)
MAC_REG_ENCFG0, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data); MAC_REG_ENCFG0, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
} }
void MACvDisableProtectMD(struct vnt_private *pDevice) void MACvDisableProtectMD(struct vnt_private *priv)
{ {
u8 pbyData[2]; u8 data[2];
pbyData[0] = 0; data[0] = 0;
pbyData[1] = EnCFG_ProtectMd; data[1] = EnCFG_ProtectMd;
CONTROLnsRequestOut(pDevice, CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK,
MESSAGE_TYPE_WRITE_MASK, MAC_REG_ENCFG0, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
MAC_REG_ENCFG0,
MESSAGE_REQUEST_MACREG,
ARRAY_SIZE(pbyData),
pbyData
);
} }
void MACvEnableBarkerPreambleMd(struct vnt_private *pDevice) void MACvEnableBarkerPreambleMd(struct vnt_private *pDevice)