staging: rtl8192e: Rename fw_download_code
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:17 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:44 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename fw_download_code to _rtl92e_fw_download_code.

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

index 4881f89f6e47806f78f1b815a9e89c0644be61dc..41fc0e244f83b508da215e894cfc5a2ebece1aa8 100644 (file)
@@ -32,8 +32,8 @@ void rtl92e_init_fw_param(struct net_device *dev)
                                             MAX_TRANSMIT_BUFFER_SIZE);
 }
 
-static bool fw_download_code(struct net_device *dev, u8 *code_virtual_address,
-                            u32 buffer_len)
+static bool _rtl92e_fw_download_code(struct net_device *dev,
+                                    u8 *code_virtual_address, u32 buffer_len)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        u16                 frag_threshold;
@@ -299,7 +299,8 @@ bool rtl92e_init_fw(struct net_device *dev)
                mapped_file = pfirmware->firmware_buf[i];
                file_length = pfirmware->firmware_buf_size[i];
 
-               rt_status = fw_download_code(dev, mapped_file, file_length);
+               rt_status = _rtl92e_fw_download_code(dev, mapped_file,
+                                                    file_length);
                if (!rt_status)
                        goto download_firmware_fail;