staging: rtl8192e: Rename dm_cs_ratio
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:19:42 +0000 (10:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:34:05 +0000 (03:34 +0200)
Use naming schema found in other rtlwifi devices.
Rename dm_cs_ratio to _rtl92e_dm_cs_ratio.

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

index c1b1e0c3a18b745e39f11f54e383f254e5fd7e75..11ca8823c8e5292d7304437cadb10d9977d2755b 100644 (file)
@@ -184,7 +184,7 @@ static      void dm_ctrl_initgain_byrssi_by_driverrssi(struct net_device *dev);
 static void dm_ctrl_initgain_byrssi_by_fwfalse_alarm(struct net_device *dev);
 static void dm_initial_gain(struct net_device *dev);
 static void dm_pd_th(struct net_device *dev);
-static void dm_cs_ratio(struct net_device *dev);
+static void _rtl92e_dm_cs_ratio(struct net_device *dev);
 
 static void dm_init_ctstoself(struct net_device *dev);
 static void dm_Init_WA_Broadcom_IOT(struct net_device *dev);
@@ -1382,7 +1382,7 @@ static void dm_ctrl_initgain_byrssi_by_driverrssi(
        dm_digtable.rssi_val = priv->undecorated_smoothed_pwdb;
        dm_initial_gain(dev);
        dm_pd_th(dev);
-       dm_cs_ratio(dev);
+       _rtl92e_dm_cs_ratio(dev);
        if (dm_digtable.dig_algorithm_switch)
                dm_digtable.dig_algorithm_switch = 0;
        dm_digtable.PreSTAConnectState = dm_digtable.CurSTAConnectState;
@@ -1644,7 +1644,7 @@ static void dm_pd_th(struct net_device *dev)
        }
 }
 
-static void dm_cs_ratio(struct net_device *dev)
+static void _rtl92e_dm_cs_ratio(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        static u8 initialized, force_write;