diff options
author | Arjan van de Ven <arjan@infradead.org> | 2006-01-11 09:55:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-20 17:49:55 -0500 |
commit | 4186ecf8ad16dd05759a09594de6a87e48759ba6 (patch) | |
tree | 3ee5292d9f4a36e3eb359b586289ec972bcbaf39 /drivers/usb/media/dabusb.h | |
parent | 35cce732d9d4d9af6b4ad4d26d8f8c0eddb573a2 (diff) |
[PATCH] USB: convert a bunch of USB semaphores to mutexes
the patch below converts a bunch of semaphores-used-as-mutex in the USB
code to mutexes
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/media/dabusb.h')
-rw-r--r-- | drivers/usb/media/dabusb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/media/dabusb.h b/drivers/usb/media/dabusb.h index 10b666e43abc..96b03e4af8b9 100644 --- a/drivers/usb/media/dabusb.h +++ b/drivers/usb/media/dabusb.h | |||
@@ -18,7 +18,7 @@ typedef enum { _stopped=0, _started } driver_state_t; | |||
18 | 18 | ||
19 | typedef struct | 19 | typedef struct |
20 | { | 20 | { |
21 | struct semaphore mutex; | 21 | struct mutex mutex; |
22 | struct usb_device *usbdev; | 22 | struct usb_device *usbdev; |
23 | wait_queue_head_t wait; | 23 | wait_queue_head_t wait; |
24 | wait_queue_head_t remove_ok; | 24 | wait_queue_head_t remove_ok; |