summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/host_interface.c
diff options
context:
space:
mode:
authorChaehyun Lim2015-10-02 14:44:52 +0200
committerGreg Kroah-Hartman2015-10-04 10:42:39 +0200
commit5ba48ecca5bb528ee5893513f4e4b5f3c8a7c214 (patch)
tree301e7375b8ffb4fd2bdfc85f12993507354fd947 /drivers/staging/wilc1000/host_interface.c
parentstaging: wilc1000: rename u8ChNum of host_int_set_mac_chnl_num (diff)
downloadkernel-qcow2-linux-5ba48ecca5bb528ee5893513f4e4b5f3c8a7c214.tar.gz
kernel-qcow2-linux-5ba48ecca5bb528ee5893513f4e4b5f3c8a7c214.tar.xz
kernel-qcow2-linux-5ba48ecca5bb528ee5893513f4e4b5f3c8a7c214.zip
staging: wilc1000: rename hWFIDrv of host_int_set_mac_chnl_num
This patch replaces hWFIDrv with wfi_drv that is first argument of host_int_set_mac_chnl_num to avoid camelcase. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r--drivers/staging/wilc1000/host_interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index fe66417efd7c..4f683c90a50e 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -5315,10 +5315,10 @@ s32 host_int_get_rx_power_level(tstrWILC_WFIDrv *hWFIDrv, u8 *pu8RxPowerLevel,
* @date 8 March 2012
* @version 1.0
*/
-int host_int_set_mac_chnl_num(tstrWILC_WFIDrv *hWFIDrv, u8 channel)
+int host_int_set_mac_chnl_num(tstrWILC_WFIDrv *wfi_drv, u8 channel)
{
int result = 0;
- tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)hWFIDrv;
+ tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)wfi_drv;
struct host_if_msg msg;
if (!pstrWFIDrv) {
@@ -5330,7 +5330,7 @@ int host_int_set_mac_chnl_num(tstrWILC_WFIDrv *hWFIDrv, u8 channel)
memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_SET_CHANNEL;
msg.body.channel_info.u8SetChan = channel;
- msg.drvHandler = hWFIDrv;
+ msg.drvHandler = wfi_drv;
result = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
if (result) {