summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2015-10-05 13:34:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-08 12:58:24 +0300
commit3c5f3e5ad15c162f8bf86c218a02e5cc0e55bc44 (patch)
tree5d1c556363b02f4218eee0dbf17c4947dd4ef8f9
parenta094101cdc86d102e651342ee1078e147203f13f (diff)
downloadlinux-3c5f3e5ad15c162f8bf86c218a02e5cc0e55bc44.tar.xz
staging: wilc1000: rename u32address in host_int_set_wfi_drv_handler
This patch replaces u32address with address to avoid camelcase. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/wilc1000/host_interface.c6
-rw-r--r--drivers/staging/wilc1000/host_interface.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index dcd2d5c26a10..8311d53f923b 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -5259,7 +5259,7 @@ int host_int_wait_msg_queue_idle(void)
return result;
}
-int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *u32address)
+int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *address)
{
int result = 0;
@@ -5270,8 +5270,8 @@ int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *u32address)
memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_SET_WFIDRV_HANDLER;
- msg.body.drv.u32Address = get_id_from_handler(u32address);
- msg.drvHandler = u32address;
+ msg.body.drv.u32Address = get_id_from_handler(address);
+ msg.drvHandler = address;
result = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
if (result) {
diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h
index 6e3980909ad8..314cd4190262 100644
--- a/drivers/staging/wilc1000/host_interface.h
+++ b/drivers/staging/wilc1000/host_interface.h
@@ -1186,7 +1186,7 @@ s32 host_int_frame_register(tstrWILC_WFIDrv *hWFIDrv, u16 u16FrameType, bool bRe
* @date
* @version 1.0
*/
-int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *u32address);
+int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *address);
s32 host_int_set_operation_mode(tstrWILC_WFIDrv *hWFIDrv, u32 u32mode);
static s32 Handle_ScanDone(tstrWILC_WFIDrv *drvHandler, tenuScanEvent enuEvent);