From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:19:26 +0000 (+0200) Subject: staging: rtl8192e: Rename dm_bandwidth_autoswitch X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d4244a0305d7b0ee37d18897204b03453650a7b9;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: rtl8192e: Rename dm_bandwidth_autoswitch Use naming schema found in other rtlwifi devices. Rename dm_bandwidth_autoswitch to _rtl92e_dm_bandwidth_autoswitch. 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 1a0c690bfa07..f3ac822134b9 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -169,7 +169,7 @@ struct drx_path_sel DM_RxPathSelTable; static void dm_check_rate_adaptive(struct net_device *dev); static void dm_init_bandwidth_autoswitch(struct net_device *dev); -static void dm_bandwidth_autoswitch(struct net_device *dev); +static void _rtl92e_dm_bandwidth_autoswitch(struct net_device *dev); static void dm_check_txpower_tracking(struct net_device *dev); @@ -274,7 +274,7 @@ void rtl92e_dm_watchdog(struct net_device *dev) dm_check_txpower_tracking(dev); dm_ctrl_initgain_byrssi(dev); - dm_bandwidth_autoswitch(dev); + _rtl92e_dm_bandwidth_autoswitch(dev); dm_check_rx_path_selection(dev); dm_check_fsync(dev); @@ -475,7 +475,7 @@ static void dm_init_bandwidth_autoswitch(struct net_device *dev) priv->rtllib->bandwidth_auto_switch.bautoswitch_enable = false; } -static void dm_bandwidth_autoswitch(struct net_device *dev) +static void _rtl92e_dm_bandwidth_autoswitch(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev);