From: Malcolm Priestley Date: Fri, 11 Jul 2014 00:08:25 +0000 (+0100) Subject: staging: vt6656: rename and cleanup wTimeStampOff X-Git-Tag: v3.17-rc1~123^2~929 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1a4d4509271e1039d06e860b802ec8a9e5fd2b6d;p=karo-tx-linux.git staging: vt6656: rename and cleanup wTimeStampOff Rename to vnt_time_stampoff 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 5084434229a9..7faef28cceb4 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c @@ -52,10 +52,10 @@ static int msglevel = MSG_LEVEL_INFO; -static const u16 wTimeStampOff[2][MAX_RATE] = { - {384, 288, 226, 209, 54, 43, 37, 31, 28, 25, 24, 23}, // Long Preamble - {384, 192, 130, 113, 54, 43, 37, 31, 28, 25, 24, 23}, // Short Preamble - }; +static const u16 vnt_time_stampoff[2][MAX_RATE] = { + {384, 288, 226, 209, 54, 43, 37, 31, 28, 25, 24, 23},/* Long Preamble */ + {384, 192, 130, 113, 54, 43, 37, 31, 28, 25, 24, 23},/* Short Preamble */ +}; static const u16 wFB_Opt0[2][5] = { {RATE_12M, RATE_18M, RATE_24M, RATE_36M, RATE_48M}, // fallback_rate0 @@ -128,7 +128,7 @@ static struct vnt_usb_send_context static __le16 vnt_time_stamp_off(struct vnt_private *priv, u16 rate) { - return cpu_to_le16(wTimeStampOff[priv->byPreambleType % 2] + return cpu_to_le16(vnt_time_stampoff[priv->byPreambleType % 2] [rate % MAX_RATE]); }