Staging: rtl8723bs: fix names in rtl8723b_xmit.h
authorMarco Cesati <marcocesati@gmail.com>
Wed, 17 Mar 2021 22:21:02 +0000 (23:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Mar 2021 09:16:46 +0000 (10:16 +0100)
This commit converts names of structs / enums
in include/rtl8723b_xmit.h from ALL_CAPS format to lowercase

Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210317222130.29528-16-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
drivers/staging/rtl8723bs/include/rtl8723b_xmit.h

index d30659a1123694199fb16e26a8ed78ea5543b222..9c30024fa984a8705c92996e9407acfe5b23e9bd 100644 (file)
@@ -2991,7 +2991,7 @@ static u8 fill_txdesc_sectype(struct pkt_attrib *pattrib)
        return sectype;
 }
 
-static void fill_txdesc_vcs_8723b(struct adapter *padapter, struct pkt_attrib *pattrib, struct TXDESC_8723B *ptxdesc)
+static void fill_txdesc_vcs_8723b(struct adapter *padapter, struct pkt_attrib *pattrib, struct txdesc_8723b *ptxdesc)
 {
        /* DBG_8192C("cvs_mode =%d\n", pattrib->vcs_mode); */
 
@@ -3024,7 +3024,7 @@ static void fill_txdesc_vcs_8723b(struct adapter *padapter, struct pkt_attrib *p
        }
 }
 
-static void fill_txdesc_phy_8723b(struct adapter *padapter, struct pkt_attrib *pattrib, struct TXDESC_8723B *ptxdesc)
+static void fill_txdesc_phy_8723b(struct adapter *padapter, struct pkt_attrib *pattrib, struct txdesc_8723b *ptxdesc)
 {
        /* DBG_8192C("bwmode =%d, ch_off =%d\n", pattrib->bwmode, pattrib->ch_offset); */
 
@@ -3044,7 +3044,7 @@ static void rtl8723b_fill_default_txdesc(
        struct mlme_ext_priv *pmlmeext;
        struct mlme_ext_info *pmlmeinfo;
        struct pkt_attrib *pattrib;
-       struct TXDESC_8723B *ptxdesc;
+       struct txdesc_8723b *ptxdesc;
        s32 bmcst;
 
        memset(pbuf, 0, TXDESC_SIZE);
@@ -3057,7 +3057,7 @@ static void rtl8723b_fill_default_txdesc(
        pattrib = &pxmitframe->attrib;
        bmcst = IS_MCAST(pattrib->ra);
 
-       ptxdesc = (struct TXDESC_8723B *)pbuf;
+       ptxdesc = (struct txdesc_8723b *)pbuf;
 
        if (pxmitframe->frame_tag == DATA_FRAMETAG) {
                u8 drv_userate = 0;
index ccadc3d1164496a1533f576a429ffc424cf9fed0..56bdc14af47d19002b06205eb8be988eeedffd52 100644 (file)
@@ -59,7 +59,7 @@
 /*  */
 /* defined for TX DESC Operation */
 /*  */
-struct TXDESC_8723B {
+struct txdesc_8723b {
        /*  Offset 0 */
        u32 pktlen:16;
        u32 offset:8;