From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:19:28 +0000 (+0200) Subject: staging: rtl8192e: Rename dm_bb_initialgain_restore X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=90cc1250046ef2d36947e3be9368db557ad998b3;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: rtl8192e: Rename dm_bb_initialgain_restore Use naming schema found in other rtlwifi devices. Rename dm_bb_initialgain_restore to _rtl92e_dm_bb_initialgain_restore. 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 6c1061e0dd9e..785eff6bc83a 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -174,12 +174,7 @@ static void _rtl92e_dm_bandwidth_autoswitch(struct net_device *dev); static void dm_check_txpower_tracking(struct net_device *dev); - - - - -static void dm_bb_initialgain_restore(struct net_device *dev); - +static void _rtl92e_dm_bb_initialgain_restore(struct net_device *dev); static void _rtl92e_dm_bb_initialgain_backup(struct net_device *dev); static void dm_dig_init(struct net_device *dev); @@ -1215,11 +1210,11 @@ void rtl92e_dm_restore_state(struct net_device *dev) if (priv->btxpower_trackingInit && priv->btxpower_tracking) dm_txpower_reset_recovery(dev); - dm_bb_initialgain_restore(dev); + _rtl92e_dm_bb_initialgain_restore(dev); } -static void dm_bb_initialgain_restore(struct net_device *dev) +static void _rtl92e_dm_bb_initialgain_restore(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev); u32 bit_mask = 0x7f;