]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rtl8192e: Rename init_rate_adaptive
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:28:38 +0000 (19:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:26:24 +0000 (21:26 -0700)
Use naming schema found in other rtlwifi devices.
Rename init_rate_adaptive to rtl92e_init_adaptive_rate.

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

index f72b0654c7d7bc99bfc9d67f537b1c2d3a443f11..6f1dcd3fe0547c3078d3ac05947707aa6500f7cb 100644 (file)
@@ -560,7 +560,7 @@ static void rtl8192_read_eeprom_info(struct net_device *dev)
                RT_TRACE(COMP_INIT, "\n2T4R config\n");
        }
 
-       init_rate_adaptive(dev);
+       rtl92e_init_adaptive_rate(dev);
 
        priv->rf_chip = RF_8256;
 
index 564b17c05d91c1d68dc1518e4fb1e86fef4d25ac..b60003518d69924ae14fede03ed18d61f0f707d5 100644 (file)
@@ -234,7 +234,7 @@ void init_hal_dm(struct net_device *dev)
 
        dm_init_dynamic_txpower(dev);
 
-       init_rate_adaptive(dev);
+       rtl92e_init_adaptive_rate(dev);
 
        dm_dig_init(dev);
        rtl92e_dm_init_edca_turbo(dev);
@@ -307,7 +307,7 @@ static void dm_check_ac_dc_power(struct net_device *dev)
 };
 
 
-void init_rate_adaptive(struct net_device *dev)
+void rtl92e_init_adaptive_rate(struct net_device *dev)
 {
 
        struct r8192_priv *priv = rtllib_priv(dev);
index 7147886e830f256c9f52cad8ec214135f389b4fb..e7a2dcf1785a7f33aa18fd800caaa54355a5cc44 100644 (file)
@@ -194,7 +194,7 @@ extern  void rtl92e_dm_deinit(struct net_device *dev);
 extern void rtl92e_dm_watchdog(struct net_device *dev);
 
 
-extern  void    init_rate_adaptive(struct net_device *dev);
+extern  void    rtl92e_init_adaptive_rate(struct net_device *dev);
 extern  void    rtl92e_dm_txpower_tracking_wq(void *data);
 
 extern  void rtl92e_dm_cck_txpower_adjust(struct net_device *dev, bool binch14);