This patch renames byDurType to dur_type in s_uGetDataDuration function in order to avoid using camel case. Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@xxxxxxxxxxxxxx> --- drivers/staging/vt6655/rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index a1dadc3e8cb5..239fa4a1af66 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -230,7 +230,7 @@ static unsigned int s_uGetDataDuration( struct vnt_private *priv, - unsigned char byDurType, + unsigned char dur_type, unsigned int cbFrameLength, unsigned char byPktType, unsigned short wRate, @@ -252,7 +252,7 @@ s_uGetDataDuration( else len = cbFrameLength; - switch (byDurType) { + switch (dur_type) { case DATADUR_B: /* DATADUR_B */ if (bNeedAck) { uAckTime = bb_get_frame_time(priv->preamble_type, -- 2.34.1