From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:13:17 +0000 (+0200) Subject: staging: rtl8192e: Rename fw_download_code X-Git-Tag: v4.14-rc1~4420^2~1672 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a86fc527bf6ef0b7f824f78f48f2a6b96463a45c;p=platform%2Fkernel%2Flinux-rpi.git staging: rtl8192e: Rename fw_download_code Use naming schema found in other rtlwifi devices. Rename fw_download_code to _rtl92e_fw_download_code. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 4881f89..41fc0e2 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c @@ -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;