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

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 8e50128bb1d9b5d21ac4fd0300e3cc0e41560b35..9424909bebcb76a9a87810f6f52cc453afaa1d8c 100644 (file)
@@ -2193,7 +2193,7 @@ void rtl8192_update_ratr_table(struct net_device *dev)
 }
 
 void
-rtl8192_InitializeVariables(struct net_device  *dev)
+rtl92e_init_variables(struct net_device  *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
index 6c37c4051157d6e6e1c1ebdd4e5de982c1775489..a943ae2602913d720bb814c360663c7e953cb32c 100644 (file)
@@ -38,7 +38,7 @@ void rtl92e_enable_tx(struct net_device *dev);
 void rtl92e_enable_irq(struct net_device *dev);
 void rtl92e_disable_irq(struct net_device *dev);
 void rtl92e_clear_irq(struct net_device *dev);
-void rtl8192_InitializeVariables(struct net_device  *dev);
+void rtl92e_init_variables(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_get_eeprom_size(struct net_device *dev);
index 9601313069257c872b977596db111c19fc8efd17..4bcb88b0e79878aaae9ba0f758708dfd53623c2c 100644 (file)
@@ -45,7 +45,7 @@ static char *ifname = "wlan%d";
 static struct rtl819x_ops rtl819xp_ops = {
        .nic_type                       = NIC_8192E,
        .get_eeprom_size                = rtl92e_get_eeprom_size,
-       .init_adapter_variable          = rtl8192_InitializeVariables,
+       .init_adapter_variable          = rtl92e_init_variables,
        .initialize_adapter             = rtl92e_start_adapter,
        .link_change                    = rtl8192_link_change,
        .tx_fill_descriptor             = rtl8192_tx_fill_desc,