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

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

index 56fd583..47237cd 100644 (file)
@@ -90,7 +90,7 @@ static void odm_RxPhyStatus92CSeries_Parsing(
        bool isCCKrate = false;
        u8 rf_rx_num = 0;
        u8 LNA_idx, VGA_idx;
-       struct PHY_STATUS_RPT_8192CD_T *pPhyStaRpt = (struct PHY_STATUS_RPT_8192CD_T *)pPhyStatus;
+       struct phy_status_rpt_8192cd_t *pPhyStaRpt = (struct phy_status_rpt_8192cd_t *)pPhyStatus;
 
        isCCKrate = pPktinfo->data_rate <= DESC_RATE11M;
        pPhyInfo->rx_mimo_signal_quality[ODM_RF_PATH_A] = -1;
index deec2e7..10cd4e8 100644 (file)
@@ -30,7 +30,7 @@
 /*  structure and define */
 /*  */
 
-struct PHY_RX_AGC_INFO_T {
+struct phy_rx_agc_info_t {
        #if (ODM_ENDIAN_TYPE == ODM_ENDIAN_LITTLE)
                u8 gain:7, trsw:1;
        #else
@@ -38,8 +38,8 @@ struct PHY_RX_AGC_INFO_T {
        #endif
 };
 
-struct PHY_STATUS_RPT_8192CD_T {
-       struct PHY_RX_AGC_INFO_T path_agc[2];
+struct phy_status_rpt_8192cd_t {
+       struct phy_rx_agc_info_t path_agc[2];
        u8 ch_corr[2];
        u8 cck_sig_qual_ofdm_pwdb_all;
        u8 cck_agc_rpt_ofdm_cfosho_a;
@@ -77,7 +77,7 @@ struct PHY_STATUS_RPT_8192CD_T {
 };
 
 
-struct PHY_STATUS_RPT_8812_T {
+struct phy_status_rpt_8812_t {
        /* 2012.05.24 LukeLee: This structure should take big/little endian in consideration later..... */
 
        /* DWORD 0 */