staging: vt6656: vnt_time_stamp_off fix return to __le16
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 18 Mar 2014 19:25:03 +0000 (19:25 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Mar 2014 16:00:19 +0000 (09:00 -0700)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c

index c0c3f503c3ce93ef65b0369af814413aa4e5b2b9..4ae8c9cabc5497c9a160ea9fcc90695c621f9cb1 100644 (file)
@@ -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]);