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

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

index 1a7b6c7c2a0ec362ce3d865162c5d5ab166f627f..f0e175def6a4f69cefd771a23b27413dd29279ed 100644 (file)
@@ -1093,7 +1093,7 @@ static short rtl8192_init(struct net_device *dev)
        priv->ops->init_adapter_variable(dev);
        rtl8192_get_channel_map(dev);
 
-       init_hal_dm(dev);
+       rtl92e_dm_init(dev);
 
        setup_timer(&priv->watch_dog_timer,
                    watch_dog_timer_callback,
index b60003518d69924ae14fede03ed18d61f0f707d5..458097ee09e73257d0e98f0264d6ec98261813c1 100644 (file)
@@ -224,7 +224,7 @@ static      void dm_send_rssi_tofw(struct net_device *dev);
 static void    dm_ctstoself(struct net_device *dev);
 /*---------------------------Define function prototype------------------------*/
 
-void init_hal_dm(struct net_device *dev)
+void rtl92e_dm_init(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
index e7a2dcf1785a7f33aa18fd800caaa54355a5cc44..e16502d12cdc5e7e5f6a2295718ed186df85c132 100644 (file)
@@ -188,7 +188,7 @@ extern const u8 dm_cck_tx_bb_gain_ch14[CCKTxBBGainTableLength][8];
 /*--------------------------Exported Function prototype---------------------*/
 /*--------------------------Exported Function prototype---------------------*/
 
-extern  void    init_hal_dm(struct net_device *dev);
+extern  void rtl92e_dm_init(struct net_device *dev);
 extern  void rtl92e_dm_deinit(struct net_device *dev);
 
 extern void rtl92e_dm_watchdog(struct net_device *dev);