From a86fc527bf6ef0b7f824f78f48f2a6b96463a45c Mon Sep 17 00:00:00 2001 From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 10:13:17 +0200 Subject: [PATCH] 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 --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 4881f89f6e47..41fc0e244f83 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; -- 2.30.2