OSDN Git Service

staging: rtl8192e: Rename rtl8192_BBConfig
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:45 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:17 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_BBConfig to rtl92e_config_bb.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h

index 9a8bd19..2262595 100644 (file)
@@ -750,7 +750,7 @@ start:
                }
        }
        RT_TRACE(COMP_INIT, "BB Config Start!\n");
-       rtStatus = rtl8192_BBConfig(dev);
+       rtStatus = rtl92e_config_bb(dev);
        if (!rtStatus) {
                netdev_warn(dev, "%s(): Failed to configure BB\n", __func__);
                return rtStatus;
index c674932..3c6916b 100644 (file)
@@ -599,7 +599,7 @@ static bool rtl8192_BB_Config_ParaFile(struct net_device *dev)
 
        return rtStatus;
 }
-bool rtl8192_BBConfig(struct net_device *dev)
+bool rtl92e_config_bb(struct net_device *dev)
 {
        rtl8192_InitBBRFRegDef(dev);
        return rtl8192_BB_Config_ParaFile(dev);
index 2f1db77..cd4b242 100644 (file)
@@ -83,7 +83,7 @@ extern void rtl8192_phy_configmac(struct net_device *dev);
 extern bool rtl8192_phy_checkBBAndRF(struct net_device *dev,
                                     enum hw90_block CheckBlock,
                                     enum rf90_radio_path eRFPath);
-extern bool rtl8192_BBConfig(struct net_device *dev);
+extern bool rtl92e_config_bb(struct net_device *dev);
 extern void rtl8192_phy_getTxPower(struct net_device *dev);
 extern void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel);
 extern bool rtl8192_phy_RFConfig(struct net_device *dev);