]> 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)
commit342ac1acee031ac64b44324badcf91e9b2226b7e
tree93a07e52fec041de1c5930e8cef945aa20d4b6bc
parent1060ee4118c4a422dd998c2de2b2c488b711f112
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