From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:19:43 +0000 (+0200) Subject: staging: rtl8192e: Rename dm_ctrl_initgain_byrssi_by_driverrssi X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=24ec800e8076eb73dde509cc15cb5787a85b3fa8;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Rename dm_ctrl_initgain_byrssi_by_driverrssi Use naming schema found in other rtlwifi devices. Rename dm_ctrl_initgain_byrssi_by_driverrssi to _rtl92e_dm_ctrl_initgain_byrssi_driver. 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 11ca8823c8e5..26a61f38166a 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -180,7 +180,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 dm_ctrl_initgain_byrssi_by_driverrssi(struct net_device *dev); +static void _rtl92e_dm_ctrl_initgain_byrssi_driver(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); @@ -1331,7 +1331,7 @@ static void dm_ctrl_initgain_byrssi(struct net_device *dev) if (dm_digtable.dig_algorithm == DIG_ALGO_BY_FALSE_ALARM) dm_ctrl_initgain_byrssi_by_fwfalse_alarm(dev); else if (dm_digtable.dig_algorithm == DIG_ALGO_BY_RSSI) - dm_ctrl_initgain_byrssi_by_driverrssi(dev); + _rtl92e_dm_ctrl_initgain_byrssi_driver(dev); else return; } @@ -1354,8 +1354,7 @@ static void dm_ctrl_initgain_byrssi(struct net_device *dev) * *---------------------------------------------------------------------------*/ -static void dm_ctrl_initgain_byrssi_by_driverrssi( - struct net_device *dev) +static void _rtl92e_dm_ctrl_initgain_byrssi_driver(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev); u8 i;