Commit ab743598 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename init_hal_dm

Use naming schema found in other rtlwifi devices.
Rename init_hal_dm to rtl92e_dm_init.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b8216b69
...@@ -1093,7 +1093,7 @@ static short rtl8192_init(struct net_device *dev) ...@@ -1093,7 +1093,7 @@ static short rtl8192_init(struct net_device *dev)
priv->ops->init_adapter_variable(dev); priv->ops->init_adapter_variable(dev);
rtl8192_get_channel_map(dev); rtl8192_get_channel_map(dev);
init_hal_dm(dev); rtl92e_dm_init(dev);
setup_timer(&priv->watch_dog_timer, setup_timer(&priv->watch_dog_timer,
watch_dog_timer_callback, watch_dog_timer_callback,
......
...@@ -224,7 +224,7 @@ static void dm_send_rssi_tofw(struct net_device *dev); ...@@ -224,7 +224,7 @@ static void dm_send_rssi_tofw(struct net_device *dev);
static void dm_ctstoself(struct net_device *dev); static void dm_ctstoself(struct net_device *dev);
/*---------------------------Define function prototype------------------------*/ /*---------------------------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); struct r8192_priv *priv = rtllib_priv(dev);
......
...@@ -188,7 +188,7 @@ extern const u8 dm_cck_tx_bb_gain_ch14[CCKTxBBGainTableLength][8]; ...@@ -188,7 +188,7 @@ extern const u8 dm_cck_tx_bb_gain_ch14[CCKTxBBGainTableLength][8];
/*--------------------------Exported Function prototype---------------------*/ /*--------------------------Exported Function prototype---------------------*/
/*--------------------------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_deinit(struct net_device *dev);
extern void rtl92e_dm_watchdog(struct net_device *dev); extern void rtl92e_dm_watchdog(struct net_device *dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment