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

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 d81fa9463bf52a051d2646c65ba9a131c4487755..bdb37c7a468560b5f81a729ead8da63dada4a9a4 100644 (file)
@@ -828,7 +828,7 @@ start:
        }
        write_nic_byte(dev, 0xbe, 0xc0);
 
-       rtl8192_phy_configmac(dev);
+       rtl92e_config_mac(dev);
 
        if (priv->card_8192_version > (u8) VERSION_8190_BD) {
                rtl8192_phy_getTxPower(dev);
index 1d9ea05c6b566023fb2f253c864d5a00836784bd..36090f7879fb3282cdd771a46db142f2cb718ec4 100644 (file)
@@ -328,7 +328,7 @@ static void phy_FwRFSerialWrite(struct net_device *dev,
 }
 
 
-void rtl8192_phy_configmac(struct net_device *dev)
+void rtl92e_config_mac(struct net_device *dev)
 {
        u32 dwArrayLen = 0, i = 0;
        u32 *pdwArray = NULL;
index 536a3a2ce05c0353ad91cd1a49cdd54e437f6ce2..4cfd4cb3d5b27333f861af9637310621411c8b01 100644 (file)
@@ -78,7 +78,7 @@ extern void rtl8192_phy_SetRFReg(struct net_device *dev,
 extern u32 rtl8192_phy_QueryRFReg(struct net_device *dev,
                                  enum rf90_radio_path eRFPath,
                                  u32 RegAddr, u32 BitMask);
-extern void rtl8192_phy_configmac(struct net_device *dev);
+extern void rtl92e_config_mac(struct net_device *dev);
 extern bool rtl92e_check_bb_and_rf(struct net_device *dev,
                                   enum hw90_block CheckBlock,
                                   enum rf90_radio_path eRFPath);