summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Kim <leo.kim@atmel.com>2015-10-19 09:26:09 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-25 01:12:58 (GMT)
commit7178aed8ec170006ed3264ecb0b78de6d087c9b6 (patch)
treee9136d4f020047ee3373fd0ba463ea0c217e5d81
parent31390eec7dce6360a96e32d440bf6e0c1bb31d0f (diff)
downloadlinux-7178aed8ec170006ed3264ecb0b78de6d087c9b6.tar.xz
staging: wilc1000: move variable clients_count
This patch moves static variable clients_count to around where the local variables are togther. Signed-off-by: Leo Kim <leo.kim@atmel.com> Signed-off-by: Tony Cho <tony.cho@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/wilc1000/host_interface.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 066123f..c61042e 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -254,6 +254,7 @@ static u8 set_ip[2][4];
static u8 get_ip[2][4];
static u32 inactive_time;
static u8 del_beacon;
+static u32 clients_count;
static u8 *join_req;
u8 *info_element;
@@ -4138,8 +4139,6 @@ void host_int_send_network_info_to_host
{
}
-static u32 clients_count;
-
s32 host_int_init(struct host_if_drv **hif_drv_handler)
{
s32 result = 0;