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

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

index 7a3e34f1c857f3a907364c10fae6f8db2c388d3d..593b5b5b655dcf1a8edd44beae9324be0a08a710 100644 (file)
@@ -1611,7 +1611,7 @@ bool SetRFPowerState(struct net_device *dev,
        return bResult;
 }
 
-void PHY_ScanOperationBackup8192(struct net_device *dev, u8 Operation)
+void rtl92e_scan_op_backup(struct net_device *dev, u8 Operation)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
index f4bf9748a28c7a10b1c2a58b3b84d9b61d4fb132..58d8463057dffca6369e396923f07c525de229d1 100644 (file)
@@ -106,6 +106,6 @@ SetRFPowerState(
        );
 #define PHY_SetRFPowerState SetRFPowerState
 
-extern void PHY_ScanOperationBackup8192(struct net_device *dev, u8 Operation);
+extern void rtl92e_scan_op_backup(struct net_device *dev, u8 Operation);
 
 #endif
index c3c578dfe6a6e9674d59840777492be988fbe8af..87a53d136bbecfdffbb3d48d20a2fa6269c340fd 100644 (file)
@@ -900,7 +900,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev)
        priv->rtllib->LedControlHandler = NULL;
        priv->rtllib->UpdateBeaconInterruptHandler = NULL;
 
-       priv->rtllib->ScanOperationBackupHandler = PHY_ScanOperationBackup8192;
+       priv->rtllib->ScanOperationBackupHandler = rtl92e_scan_op_backup;
 }
 
 static void rtl8192_init_priv_constant(struct net_device *dev)