]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
Staging: rtl8723bs: fix names in hal_com_phycfg.h
authorMarco Cesati <marcocesati@gmail.com>
Wed, 17 Mar 2021 22:21:11 +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 include/hal_com_phycfg.h from ALL_CAPS format to lowercase

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

index 586e3ded447f58a194bbe03c4e8e3cbb55a860a7..67db3c60b5182327246a8aafeacca38cca12dc1b 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/kernel.h>
 
 u8 PHY_GetTxPowerByRateBase(struct adapter *Adapter, u8 Band, u8 RfPath,
-                           u8 TxNum, enum RATE_SECTION RateSection)
+                           u8 TxNum, enum rate_section RateSection)
 {
        struct hal_com_data     *pHalData = GET_HAL_DATA(Adapter);
        u8      value = 0;
@@ -104,7 +104,7 @@ phy_SetTxPowerByRateBase(
        struct adapter *Adapter,
        u8 Band,
        u8 RfPath,
-       enum RATE_SECTION       RateSection,
+       enum rate_section       RateSection,
        u8 TxNum,
        u8 Value
 )
index 979b621f4baa84be01a14e731c3c1d09b43d15ae..51eef4d5c86136c89e982a7f8a8c208ba9b0891f 100644 (file)
@@ -12,7 +12,7 @@
 #define                PathC           0x2
 #define                PathD           0x3
 
-enum RATE_SECTION {
+enum rate_section {
        CCK = 0,
        OFDM,
        HT_MCS0_MCS7,
@@ -25,7 +25,7 @@ enum RATE_SECTION {
        VHT_4SSMCS0_4SSMCS9,
 };
 
-enum RF_TX_NUM {
+enum rf_tx_num {
        RF_1TX = 0,
        RF_2TX,
        RF_3TX,
@@ -36,7 +36,7 @@ enum RF_TX_NUM {
 
 #define MAX_POWER_INDEX                        0x3F
 
-enum _REGULATION_TXPWR_LMT {
+enum _regulation_txpwr_lmt {
        TXPWR_LMT_FCC = 0,
        TXPWR_LMT_MKK,
        TXPWR_LMT_ETSI,
@@ -76,7 +76,7 @@ struct adapter *Adapter,
 u8             Band,
 u8             RfPath,
 u8             TxNum,
-enum RATE_SECTION      RateSection
+enum rate_section      RateSection
        );
 
 u8