From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:19:57 +0000 (+0200) Subject: staging: rtl8192e: Rename dm_initial_gain X-Git-Tag: firefly_0821_release~176^2~802^2~1536 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5578a5660ba805e9be482855b8f48b02f6f9a290;p=firefly-linux-kernel-4.4.55.git staging: rtl8192e: Rename dm_initial_gain Use naming schema found in other rtlwifi devices. Rename dm_initial_gain to _rtl92e_dm_initial_gain. 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 6f59eb714641..c321bf320e53 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -182,7 +182,7 @@ static void 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); -static void dm_initial_gain(struct net_device *dev); +static void _rtl92e_dm_initial_gain(struct net_device *dev); static void dm_pd_th(struct net_device *dev); static void _rtl92e_dm_cs_ratio(struct net_device *dev); @@ -1378,7 +1378,7 @@ static void _rtl92e_dm_ctrl_initgain_byrssi_driver(struct net_device *dev) dm_digtable.rssi_val = priv->undecorated_smoothed_pwdb; - dm_initial_gain(dev); + _rtl92e_dm_initial_gain(dev); dm_pd_th(dev); _rtl92e_dm_cs_ratio(dev); if (dm_digtable.dig_algorithm_switch) @@ -1516,7 +1516,7 @@ static void _rtl92e_dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev) reset_cnt_highpwr = priv->reset_count; } -static void dm_initial_gain(struct net_device *dev) +static void _rtl92e_dm_initial_gain(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev); u8 initial_gain = 0;