summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-03-18 19:25:07 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-19 09:00:19 -0700
commit2075f6547efb99a87b4275b4ad42a66e84a877b0 (patch)
tree5919003534cdb93e2840ab38544cd7219d999b5b /drivers/staging
parent5abe3d63adf22a314284d6ac2df10df3fcb328df (diff)
downloadlinux-2075f6547efb99a87b4275b4ad42a66e84a877b0.tar.bz2
staging: vt6656: vnt_rxtx_rsvtime_le16 fix return.
Always returns to __le16 type. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/vt6656/rxtx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
index d30e699cf382..924d9a278fee 100644
--- a/drivers/staging/vt6656/rxtx.c
+++ b/drivers/staging/vt6656/rxtx.c
@@ -359,7 +359,7 @@ static u32 s_uGetTxRsvTime(struct vnt_private *priv, u8 pkt_type,
return data_time;
}
-static u16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type,
+static __le16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type,
u32 frame_length, u16 rate, int need_ack)
{
return cpu_to_le16((u16)s_uGetTxRsvTime(priv, pkt_type,