diff options
author | Glen Lee | 2015-10-20 10:13:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-10-25 02:16:57 +0100 |
commit | 53dc0cfea3cfec470418730df7abfef401f75a4d (patch) | |
tree | bc3dd943e3060b76136f630680f8722358b530a8 /drivers/staging/wilc1000/wilc_wfi_netdevice.h | |
parent | staging: wilc1000: chage_virtual_intf: use netdev private wilc (diff) | |
download | kernel-qcow2-linux-53dc0cfea3cfec470418730df7abfef401f75a4d.tar.gz kernel-qcow2-linux-53dc0cfea3cfec470418730df7abfef401f75a4d.tar.xz kernel-qcow2-linux-53dc0cfea3cfec470418730df7abfef401f75a4d.zip |
staging: wilc1000: wilc1000_wlan_deinit: change argument and use wilc
This patch changes function argument wilc with net_device and use nic->wilc
instead of global variable g_linux_wlan. The null check codes should be placed
before it is used so move it.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wfi_netdevice.h')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wfi_netdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h b/drivers/staging/wilc1000/wilc_wfi_netdevice.h index 40a44f8318eb..8aa335505fda 100644 --- a/drivers/staging/wilc1000/wilc_wfi_netdevice.h +++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.h @@ -215,4 +215,5 @@ void linux_wlan_dbg(u8 *buff); int linux_wlan_lock_timeout(void *vp, u32 timeout); void wl_wlan_cleanup(void); int wilc_netdev_init(struct wilc **wilc); +void wilc1000_wlan_deinit(struct net_device *dev); #endif |