From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:19:45 +0000 (+0200) Subject: staging: rtl8192e: Rename dm_ctrl_initgain_byrssi_highpwr X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2c696148c69bfc220d1debe9cd451d87f45526fa;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Rename dm_ctrl_initgain_byrssi_highpwr Use naming schema found in other rtlwifi devices. Rename dm_ctrl_initgain_byrssi_highpwr to _rtl92e_dm_ctrl_initgain_byrssi_highpwr. 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 2df6344fae22..37374d1d5c5b 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -179,7 +179,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 _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); @@ -1441,7 +1441,7 @@ static void _rtl92e_dm_ctrl_initgain_byrssi_false_alarm(struct net_device *dev) if (dm_digtable.dig_state == DM_STA_DIG_ON && (priv->reset_count == reset_cnt)) { - dm_ctrl_initgain_byrssi_highpwr(dev); + _rtl92e_dm_ctrl_initgain_byrssi_highpwr(dev); return; } if (priv->reset_count != reset_cnt) @@ -1472,11 +1472,11 @@ static void _rtl92e_dm_ctrl_initgain_byrssi_false_alarm(struct net_device *dev) rtl92e_set_bb_reg(dev, UFWP, bMaskByte1, 0x1); } - dm_ctrl_initgain_byrssi_highpwr(dev); + _rtl92e_dm_ctrl_initgain_byrssi_highpwr(dev); } -static void dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev) +static void _rtl92e_dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev); static u32 reset_cnt_highpwr;