]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: move 'curr_channel' static variable in 'wilc' struct
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 5 Feb 2019 07:16:02 +0000 (07:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Feb 2019 12:31:20 +0000 (13:31 +0100)
commit8f663c9d370cebcb3ca748b379df14499860bc0c
treefcaff74ae5863c5fdf3d34983e1865e5eca08583
parent323ace5831cd0594b9281f6e2d45c370067edad3
staging: wilc1000: move 'curr_channel' static variable in 'wilc' struct

Avoid the use of static variable and move it as 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/wilc_wfi_cfgoperations.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h