]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: rtl8192e: Rename rtl8192_adapter_start
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:19 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:10 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_adapter_start to rtl92e_start_adapter.

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 eb919b634e3c7a0ca6cfc4dbedf73e81bef109df..2bc53ad2b4c7442840a7400790b4870470004602 100644 (file)
@@ -702,7 +702,7 @@ static void rtl8192_hwconfig(struct net_device *dev)
                        priv->LongRetryLimit << RETRY_LIMIT_LONG_SHIFT);
 }
 
-bool rtl8192_adapter_start(struct net_device *dev)
+bool rtl92e_start_adapter(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        u32 ulRegRead;
index 4f1b312e90f47e9c4df4f73093e340d60e49ddaf..48fbd4e516f65314adb5c800c95009733d5c122e 100644 (file)
@@ -42,7 +42,7 @@ void rtl8192_InitializeVariables(struct net_device  *dev);
 void rtl8192e_start_beacon(struct net_device *dev);
 void rtl8192e_SetHwReg(struct net_device *dev, u8 variable, u8 *val);
 void rtl8192_get_eeprom_size(struct net_device *dev);
-bool rtl8192_adapter_start(struct net_device *dev);
+bool rtl92e_start_adapter(struct net_device *dev);
 void rtl8192_link_change(struct net_device *dev);
 void rtl8192_AllowAllDestAddr(struct net_device *dev, bool bAllowAllDA,
                              bool WriteIntoReg);
index ca8406bba26d0c19cc9615e064a50c125b9a3e49..c5028cc01f343e3759a6c8d9549708eaca8c0f91 100644 (file)
@@ -46,7 +46,7 @@ static struct rtl819x_ops rtl819xp_ops = {
        .nic_type                       = NIC_8192E,
        .get_eeprom_size                = rtl8192_get_eeprom_size,
        .init_adapter_variable          = rtl8192_InitializeVariables,
-       .initialize_adapter             = rtl8192_adapter_start,
+       .initialize_adapter             = rtl92e_start_adapter,
        .link_change                    = rtl8192_link_change,
        .tx_fill_descriptor             = rtl8192_tx_fill_desc,
        .tx_fill_cmd_descriptor         = rtl8192_tx_fill_cmd_desc,