From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:19:42 +0000 (+0200) Subject: staging: rtl8192e: Rename dm_cs_ratio X-Git-Tag: firefly_0821_release~176^2~802^2~1551 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=552944e3e4e228c17954a5bfab56c9ea06babc10;p=firefly-linux-kernel-4.4.55.git staging: rtl8192e: Rename dm_cs_ratio Use naming schema found in other rtlwifi devices. Rename dm_cs_ratio to _rtl92e_dm_cs_ratio. 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 c1b1e0c3a18b..11ca8823c8e5 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -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;