diff options
author | Pavel Roskin <proski@gnu.org> | 2007-05-01 20:01:07 -0400 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2007-05-02 11:22:18 +0200 |
commit | c360795bda2df2260b2b8a459087c9e37ef17266 (patch) | |
tree | dbf971bc643dddbe1a41945905330612aa375eb9 /at76_usb.h | |
parent | b74a15493e90d141947df9d8c6755788fa8ffb96 (diff) |
[PATCH] Replace semaphores with mutexes
Semaphores are overkill for simple locking.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Diffstat (limited to 'at76_usb.h')
-rw-r--r-- | at76_usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -466,7 +466,7 @@ struct at76_priv { __u8 bulk_out_endpointAddr; /* the address of the bulk out endpoint */ int open_count; /* number of times this port has been opened */ - struct semaphore sem; /* locks this structure */ + struct mutex mtx; /* locks this structure */ /* work queues */ struct work_struct work_assoc_done; |