diff options
author | Binoy Jayan <binoy.jayan@linaro.org> | 2016-06-15 11:00:36 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-25 14:39:53 -0700 |
commit | fa6596982f00e7c341c95174de2275062f14e3fa (patch) | |
tree | 75544f82094b99304e800cae7b44ff568899139f /drivers/staging/wilc1000/wilc_wfi_netdevice.h | |
parent | 334bed089d3d74e64a34b0ebee52b146b6778a6b (diff) | |
download | op-kernel-dev-fa6596982f00e7c341c95174de2275062f14e3fa.zip op-kernel-dev-fa6596982f00e7c341c95174de2275062f14e3fa.tar.gz |
staging: wilc1000: Replace semaphore cfg_event with completion
The semaphore 'cfg_event' is used as completion, so convert
it to a struct completion type.
Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h b/drivers/staging/wilc1000/wilc_wfi_netdevice.h index 239cd43..5fbc07c 100644 --- a/drivers/staging/wilc1000/wilc_wfi_netdevice.h +++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.h @@ -178,7 +178,7 @@ struct wilc { struct mutex rxq_cs; struct mutex hif_cs; - struct semaphore cfg_event; + struct completion cfg_event; struct semaphore sync_event; struct completion txq_event; struct completion txq_thread_started; |