[PATCH 17/20] staging:rtl8192u: Rename LastSeg - Style

From: John Whitmore
Date: Fri Aug 31 2018 - 19:03:25 EST


Rename the member variable 'LastSeg' to 'last_seg', this change
clears the checkpatch issue with CamelCase naming.

This is a simple coding style change which should not impact runtime
code execution.

Signed-off-by: John Whitmore <johnfwhitmore@xxxxxxxxx>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192u/r8192U.h b/drivers/staging/rtl8192u/r8192U.h
index 4d29b7427a0e..672cbfa688f7 100644
--- a/drivers/staging/rtl8192u/r8192U.h
+++ b/drivers/staging/rtl8192u/r8192U.h
@@ -162,7 +162,7 @@ struct tx_desc_819x_usb {
u8 offset;
u8 reserved0:3;
u8 cmd_init:1;
- u8 LastSeg:1;
+ u8 last_seg:1;
u8 FirstSeg:1;
u8 LINIP:1;
u8 OWN:1;
diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c
index b385c686370b..dfbba1177470 100644
--- a/drivers/staging/rtl8192u/r8192U_core.c
+++ b/drivers/staging/rtl8192u/r8192U_core.c
@@ -1557,7 +1557,7 @@ short rtl8192_tx(struct net_device *dev, struct sk_buff *skb)
*/
/* DWORD 0 */
tx_desc->FirstSeg = 1;
- tx_desc->LastSeg = 1;
+ tx_desc->last_seg = 1;
tx_desc->OWN = 1;

/* DWORD 2 */
--
2.18.0