From 6e2721f9c20dac367ff486ddf3f481268cf54376 Mon Sep 17 00:00:00 2001 From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 10:19:35 +0200 Subject: [PATCH] staging: rtl8192e: Rename dm_check_rate_adaptive Use naming schema found in other rtlwifi devices. Rename dm_check_rate_adaptive to _rtl92e_dm_check_rate_adaptive. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index 3d97b5ac5fcb..f80c01d09d49 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -166,7 +166,7 @@ struct drx_path_sel DM_RxPathSelTable; /*---------------------Define local function prototype-----------------------*/ -static void dm_check_rate_adaptive(struct net_device *dev); +static void _rtl92e_dm_check_rate_adaptive(struct net_device *dev); static void dm_init_bandwidth_autoswitch(struct net_device *dev); static void _rtl92e_dm_bandwidth_autoswitch(struct net_device *dev); @@ -263,7 +263,7 @@ void rtl92e_dm_watchdog(struct net_device *dev) dm_check_txrateandretrycount(dev); _rtl92e_dm_check_edca_turbo(dev); - dm_check_rate_adaptive(dev); + _rtl92e_dm_check_rate_adaptive(dev); dm_dynamic_txpower(dev); dm_check_txpower_tracking(dev); @@ -342,7 +342,7 @@ void rtl92e_init_adaptive_rate(struct net_device *dev) } -static void dm_check_rate_adaptive(struct net_device *dev) +static void _rtl92e_dm_check_rate_adaptive(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev); struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; @@ -354,7 +354,7 @@ static void dm_check_rate_adaptive(struct net_device *dev) if (!priv->up) { RT_TRACE(COMP_RATE, - "<---- dm_check_rate_adaptive(): driver is going to unload\n"); + "<---- _rtl92e_dm_check_rate_adaptive(): driver is going to unload\n"); return; } -- 2.30.2