From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:24:14 +0000 (+0200) Subject: staging: rtl8192e: Rename dm_ctrl_initgain_byrssi X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=713519c710749d72bfad844579e10017af77bf84;p=linux-beck.git staging: rtl8192e: Rename dm_ctrl_initgain_byrssi Use naming schema found in other rtlwifi devices. Rename dm_ctrl_initgain_byrssi to _rtl92e_dm_ctrl_initgain_byrssi. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index d0e59eeae0fa..727c565728b1 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -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)