diff options
author | Bryan Thompson <bryan.thompson@unisys.com> | 2016-06-10 21:48:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-15 20:44:25 +0200 |
commit | d505855e5f2022abc75d1a54bafeb80f25a955a7 (patch) | |
tree | 79d92687f16ffb02e1494e5651a6bec2a6a25b7e /drivers/staging/unisys/include/visorbus.h | |
parent | 8a64f954a858558482464115885c68b0e4e4d479 (diff) | |
download | linux-d505855e5f2022abc75d1a54bafeb80f25a955a7.tar.bz2 |
staging: unisys: visorbus: Make visordriver_callback_lock a mutex
visordriver_callback_lock is just a binary semaphore that logically
makes more sense as a mutex.
Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <Timothy.Sell@unisys.com>
Acked-By: Neil Horman <nhorman@tuxdriver.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/include/visorbus.h')
-rw-r--r-- | drivers/staging/unisys/include/visorbus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/staging/unisys/include/visorbus.h index 9bb88bbb2078..3ba01cff4c32 100644 --- a/drivers/staging/unisys/include/visorbus.h +++ b/drivers/staging/unisys/include/visorbus.h @@ -161,7 +161,7 @@ struct visor_device { struct timer_list timer; bool timer_active; bool being_removed; - struct semaphore visordriver_callback_lock; + struct mutex visordriver_callback_lock; bool pausing; bool resuming; u32 chipset_bus_no; |