From: Malcolm Priestley Date: Tue, 18 Mar 2014 19:25:03 +0000 (+0000) Subject: staging: vt6656: vnt_time_stamp_off fix return to __le16 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dab085b139e52012d5063651950af3d9b8913f34;p=linux-beck.git staging: vt6656: vnt_time_stamp_off fix return to __le16 Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index c0c3f503c3ce..4ae8c9cabc54 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c @@ -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]);