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

staging: rtl8192e: Rename rtl8192_get_eeprom_size

Use naming schema found in other rtlwifi devices.
Rename rtl8192_get_eeprom_size to rtl92e_get_eeprom_size.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 89d4a8be
...@@ -625,7 +625,7 @@ static void rtl8192_read_eeprom_info(struct net_device *dev) ...@@ -625,7 +625,7 @@ static void rtl8192_read_eeprom_info(struct net_device *dev)
RT_TRACE(COMP_TRACE, "<==== ReadAdapterInfo\n"); RT_TRACE(COMP_TRACE, "<==== ReadAdapterInfo\n");
} }
void rtl8192_get_eeprom_size(struct net_device *dev) void rtl92e_get_eeprom_size(struct net_device *dev)
{ {
u16 curCR; u16 curCR;
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
......
...@@ -41,7 +41,7 @@ void rtl92e_clear_irq(struct net_device *dev); ...@@ -41,7 +41,7 @@ void rtl92e_clear_irq(struct net_device *dev);
void rtl8192_InitializeVariables(struct net_device *dev); void rtl8192_InitializeVariables(struct net_device *dev);
void rtl92e_start_beacon(struct net_device *dev); void rtl92e_start_beacon(struct net_device *dev);
void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val); void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val);
void rtl8192_get_eeprom_size(struct net_device *dev); void rtl92e_get_eeprom_size(struct net_device *dev);
bool rtl92e_start_adapter(struct net_device *dev); bool rtl92e_start_adapter(struct net_device *dev);
void rtl8192_link_change(struct net_device *dev); void rtl8192_link_change(struct net_device *dev);
void rtl92e_set_monitor_mode(struct net_device *dev, bool bAllowAllDA, void rtl92e_set_monitor_mode(struct net_device *dev, bool bAllowAllDA,
......
...@@ -44,7 +44,7 @@ static char *ifname = "wlan%d"; ...@@ -44,7 +44,7 @@ static char *ifname = "wlan%d";
static struct rtl819x_ops rtl819xp_ops = { static struct rtl819x_ops rtl819xp_ops = {
.nic_type = NIC_8192E, .nic_type = NIC_8192E,
.get_eeprom_size = rtl8192_get_eeprom_size, .get_eeprom_size = rtl92e_get_eeprom_size,
.init_adapter_variable = rtl8192_InitializeVariables, .init_adapter_variable = rtl8192_InitializeVariables,
.initialize_adapter = rtl92e_start_adapter, .initialize_adapter = rtl92e_start_adapter,
.link_change = rtl8192_link_change, .link_change = rtl8192_link_change,
......
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