forked from Minki/linux
staging: vt6656: vnt_time_stamp_off fix return to __le16
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
533f9d3adc
commit
dab085b139
@ -327,7 +327,7 @@ static void s_vSWencryption(struct vnt_private *pDevice,
|
||||
}
|
||||
}
|
||||
|
||||
static u16 vnt_time_stamp_off(struct vnt_private *priv, u16 rate)
|
||||
static __le16 vnt_time_stamp_off(struct vnt_private *priv, u16 rate)
|
||||
{
|
||||
return cpu_to_le16(wTimeStampOff[priv->byPreambleType % 2]
|
||||
[rate % MAX_RATE]);
|
||||
|
Loading…
Reference in New Issue
Block a user