]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: move static variable 'wlan_channel' to 'wilc' struct
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 5 Feb 2019 07:15:59 +0000 (07:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Feb 2019 12:31:20 +0000 (13:31 +0100)
commit323ace5831cd0594b9281f6e2d45c370067edad3
tree918e7b6924d44390ee5c36409125f6fbb8d5fee6
parentd4feb2b5dd8a114ca85a382250cc787d16a49b66
staging: wilc1000: move static variable 'wlan_channel' to 'wilc' struct

Avoid use of static variable 'wlan_channel' by moving it inside the 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