staging: wilc1000: move static variable clients_count to 'wilc' structure
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 4 Sep 2018 06:39:25 +0000 (12:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 15:17:38 +0000 (17:17 +0200)
commit0b68334d487a348a99e39a2aaee7ae4db3e8fcc9
tree93a07e52fec041de1c5930e8cef945aa20d4b6bc
parent6bccf8fc6cfc48718d838165916020c9fc9b0239
staging: wilc1000: move static variable clients_count to 'wilc' structure

Avoid use of static variable 'clients_count' and move it part of 'wilc'
structure.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h