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

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 d0e59eeae0fa7379cd6c072f534dc22290591697..727c565728b14bf306b9196d6849ddafffe1b7f7 100644 (file)
@@ -178,7 +178,7 @@ static void _rtl92e_dm_bb_initialgain_restore(struct net_device *dev);
 static void _rtl92e_dm_bb_initialgain_backup(struct net_device *dev);
 
 static void _rtl92e_dm_dig_init(struct net_device *dev);
-static void dm_ctrl_initgain_byrssi(struct net_device *dev);
+static void _rtl92e_dm_ctrl_initgain_byrssi(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);
@@ -266,7 +266,7 @@ void rtl92e_dm_watchdog(struct net_device *dev)
        _rtl92e_dm_dynamic_tx_power(dev);
        _rtl92e_dm_check_tx_power_tracking(dev);
 
-       dm_ctrl_initgain_byrssi(dev);
+       _rtl92e_dm_ctrl_initgain_byrssi(dev);
        _rtl92e_dm_bandwidth_autoswitch(dev);
 
        _rtl92e_dm_check_rx_path_selection(dev);
@@ -1324,7 +1324,7 @@ static void _rtl92e_dm_dig_init(struct net_device *dev)
                dm_digtable.rx_gain_range_min = DM_DIG_MIN;
 }
 
-static void dm_ctrl_initgain_byrssi(struct net_device *dev)
+static void _rtl92e_dm_ctrl_initgain_byrssi(struct net_device *dev)
 {
 
        if (dm_digtable.dig_enable_flag == false)