staging: rtl8192e: Rename rtl8192_get_eeprom_size
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:28 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:12 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_get_eeprom_size to rtl92e_get_eeprom_size.

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/r8192E_dev.h
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index f96923ca278bd4d415b002895a975b23817a82f7..5fd414e8a9840a22621d2d55cabef121e6ddbc9f 100644 (file)
@@ -625,7 +625,7 @@ static void rtl8192_read_eeprom_info(struct net_device *dev)
        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;
        struct r8192_priv *priv = rtllib_priv(dev);
index 5b9b4dfa55ceeabac0eb7a0411252e066002d98e..8551f1938114e37165804e1d10e1c53c0adf4bb7 100644 (file)
@@ -41,7 +41,7 @@ void rtl92e_clear_irq(struct net_device *dev);
 void rtl8192_InitializeVariables(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 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);
 void rtl8192_link_change(struct net_device *dev);
 void rtl92e_set_monitor_mode(struct net_device *dev, bool bAllowAllDA,
index 3a824b4d23e8edea32fb0b17d20f0c8c8fcc1aa7..04c2f38312b28605ce2bb9c07d9cbbb1cb06bc17 100644 (file)
@@ -44,7 +44,7 @@ static char *ifname = "wlan%d";
 
 static struct rtl819x_ops rtl819xp_ops = {
        .nic_type                       = NIC_8192E,
-       .get_eeprom_size                = rtl8192_get_eeprom_size,
+       .get_eeprom_size                = rtl92e_get_eeprom_size,
        .init_adapter_variable          = rtl8192_InitializeVariables,
        .initialize_adapter             = rtl92e_start_adapter,
        .link_change                    = rtl8192_link_change,