staging: rtl8192e: Rename dm_bandwidth_autoswitch
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:19:26 +0000 (10:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:34:03 +0000 (03:34 +0200)
Use naming schema found in other rtlwifi devices.
Rename dm_bandwidth_autoswitch to _rtl92e_dm_bandwidth_autoswitch.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c

index 1a0c690..f3ac822 100644 (file)
@@ -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);