summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/linux_wlan.c
diff options
context:
space:
mode:
authorGlen Lee2015-10-27 10:27:54 +0100
committerGreg Kroah-Hartman2015-10-29 00:11:23 +0100
commit2de7cbecef34e8e4b83a6771aebe87b4f6cac0c3 (patch)
treeb449aa8740c6323c76861975270ec821b3aa6c58 /drivers/staging/wilc1000/linux_wlan.c
parentstaging: wilc1000: mac_ioctl: use private data instead of g_linux_wlan (diff)
downloadkernel-qcow2-linux-2de7cbecef34e8e4b83a6771aebe87b4f6cac0c3.tar.gz
kernel-qcow2-linux-2de7cbecef34e8e4b83a6771aebe87b4f6cac0c3.tar.xz
kernel-qcow2-linux-2de7cbecef34e8e4b83a6771aebe87b4f6cac0c3.zip
staging: wilc1000: wilc_wlan_cleanup: add new argument struct net_device
This patch adds new function argument net_device and pass dev to the functions. Signed-off-by: Glen Lee <glen.lee@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/linux_wlan.c')
-rw-r--r--drivers/staging/wilc1000/linux_wlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index bd9f71584163..d193af871129 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -927,7 +927,7 @@ void wilc1000_wlan_deinit(struct net_device *dev)
wilc_wlan_stop();
PRINT_D(INIT_DBG, "Deinitializing WILC Wlan\n");
- wilc_wlan_cleanup();
+ wilc_wlan_cleanup(dev);
#if (defined WILC_SDIO) && (!defined WILC_SDIO_IRQ_GPIO)
#if defined(PLAT_ALLWINNER_A20) || defined(PLAT_ALLWINNER_A23) || defined(PLAT_ALLWINNER_A31)
PRINT_D(INIT_DBG, "Disabling IRQ 2\n");
@@ -1178,7 +1178,7 @@ _fail_irq_init_:
#endif
wlan_deinitialize_threads(dev);
_fail_wilc_wlan_:
- wilc_wlan_cleanup();
+ wilc_wlan_cleanup(dev);
_fail_locks_:
wlan_deinit_locks(dev);
PRINT_ER("WLAN Iinitialization FAILED\n");