Commit dab085b1 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: vnt_time_stamp_off fix return to __le16

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 533f9d3a
...@@ -327,7 +327,7 @@ static void s_vSWencryption(struct vnt_private *pDevice, ...@@ -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] return cpu_to_le16(wTimeStampOff[priv->byPreambleType % 2]
[rate % MAX_RATE]); [rate % MAX_RATE]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment