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

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h

index 0d9c74d86b153955e426f3faea49ac21daf22e57..28cb9dd7b73c652161009e34e154a4e74b80c737 100644 (file)
@@ -38,7 +38,7 @@ bool rtl92e_send_cmd_pkt(struct net_device *dev, u8 *code_virtual_address,
        struct tx_fwinfo_8190pci *pTxFwInfo = NULL;
 
        RT_TRACE(COMP_CMDPKT, "%s(),buffer_len is %d\n", __func__, buffer_len);
-       firmware_init_param(dev);
+       rtl92e_init_fw_param(dev);
        frag_threshold = pfirmware->cmdpacket_frag_thresold;
 
        do {
index 17d2a1540cc8b3635f4f89017eb18b4ff4424275..6c11d19c4668340c2dac19740823d4f11d3f4059 100644 (file)
@@ -23,7 +23,7 @@
 #include "r8192E_firmware.h"
 #include <linux/firmware.h>
 
-void firmware_init_param(struct net_device *dev)
+void rtl92e_init_fw_param(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        struct rt_firmware *pfirmware = priv->pFirmware;
@@ -46,7 +46,7 @@ static bool fw_download_code(struct net_device *dev, u8 *code_virtual_address,
        struct cb_desc *tcb_desc;
        u8                  bLastIniPkt;
 
-       firmware_init_param(dev);
+       rtl92e_init_fw_param(dev);
        frag_threshold = pfirmware->cmdpacket_frag_thresold;
        do {
                if ((buffer_len - frag_offset) > frag_threshold) {
index ef232d2c34e6735d5e2b763d1763eba6546a9d1e..131ea005edff31e287f362ac64a6b5a17e06381a 100644 (file)
@@ -60,6 +60,6 @@ struct rt_firmware {
 };
 
 bool init_firmware(struct net_device *dev);
-extern void firmware_init_param(struct net_device *dev);
+extern void rtl92e_init_fw_param(struct net_device *dev);
 
 #endif