mirror of https://gitee.com/openkylin/linux.git
staging: vt6656: CARDbClearCurrentTSF remove camel case
pDevice -> priv Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2092dfa4ef
commit
e151e478fd
|
@ -636,17 +636,17 @@ bool CARDbGetCurrentTSF(struct vnt_private *priv, u64 *current_tsf)
|
|||
*
|
||||
* Parameters:
|
||||
* In:
|
||||
* pDevice - The adapter to be read
|
||||
* priv - The adapter to be read
|
||||
*
|
||||
* Return Value: true if success; otherwise false
|
||||
*
|
||||
*/
|
||||
bool CARDbClearCurrentTSF(struct vnt_private *pDevice)
|
||||
bool CARDbClearCurrentTSF(struct vnt_private *priv)
|
||||
{
|
||||
|
||||
MACvRegBitsOn(pDevice, MAC_REG_TFTCTL, TFTCTL_TSFCNTRST);
|
||||
MACvRegBitsOn(priv, MAC_REG_TFTCTL, TFTCTL_TSFCNTRST);
|
||||
|
||||
pDevice->qwCurrTSF = 0;
|
||||
priv->qwCurrTSF = 0;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue