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

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 2df6344fae22511954264819a7ea45e44be70b35..37374d1d5c5b5e0f1631595f1f5bf10661d5e38d 100644 (file)
@@ -179,7 +179,7 @@ static void _rtl92e_dm_bb_initialgain_backup(struct net_device *dev);
 
 static void dm_dig_init(struct net_device *dev);
 static void dm_ctrl_initgain_byrssi(struct net_device *dev);
-static void dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev);
+static void _rtl92e_dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev);
 static void _rtl92e_dm_ctrl_initgain_byrssi_driver(struct net_device *dev);
 static void _rtl92e_dm_ctrl_initgain_byrssi_false_alarm(struct net_device *dev);
 static void dm_initial_gain(struct net_device *dev);
@@ -1441,7 +1441,7 @@ static void _rtl92e_dm_ctrl_initgain_byrssi_false_alarm(struct net_device *dev)
 
                if (dm_digtable.dig_state == DM_STA_DIG_ON &&
                    (priv->reset_count == reset_cnt)) {
-                       dm_ctrl_initgain_byrssi_highpwr(dev);
+                       _rtl92e_dm_ctrl_initgain_byrssi_highpwr(dev);
                        return;
                }
                if (priv->reset_count != reset_cnt)
@@ -1472,11 +1472,11 @@ static void _rtl92e_dm_ctrl_initgain_byrssi_false_alarm(struct net_device *dev)
 
                rtl92e_set_bb_reg(dev, UFWP, bMaskByte1, 0x1);
        }
-       dm_ctrl_initgain_byrssi_highpwr(dev);
+       _rtl92e_dm_ctrl_initgain_byrssi_highpwr(dev);
 }
 
 
-static void dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev)
+static void _rtl92e_dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        static u32 reset_cnt_highpwr;