mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
drivers/macintosh/adb: Do not claim that the semaphore is a mutex
User DEFINE_SEMAPHORE() instead of DECLARE_MUTEX() Signed-off-by: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> LKML-Reference: <[email protected]>
This commit is contained in:
parent
a529f1505b
commit
8192b1f6b1
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ static struct adb_driver *adb_controller;
|
|||
BLOCKING_NOTIFIER_HEAD(adb_client_list);
|
||||
static int adb_got_sleep;
|
||||
static int adb_inited;
|
||||
static DECLARE_MUTEX(adb_probe_mutex);
|
||||
static DEFINE_SEMAPHORE(adb_probe_mutex);
|
||||
static int sleepy_trackpad;
|
||||
static int autopoll_devs;
|
||||
int __adb_probe_sync;
|
||||
|
|
|
|||
Loading…
Reference in a new issue