]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit257bc71e897e96aa9b734646708e345d87fb864d
tree93a07e52fec041de1c5930e8cef945aa20d4b6bc
parenteacccc0a14a4e94704e65fc16604b33862b88205
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