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)
commit0d0f0b06a13e44d9a0ca18b79d6205c11bc47320
treefcaff74ae5863c5fdf3d34983e1865e5eca08583
parent458e303bdc395909360f65178ea9830ac5c4cc69
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