diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2008-05-01 15:36:13 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 18:15:53 -0400 |
commit | 7119e3c37fbf7c27adb5929f344c826ecb8c7859 (patch) | |
tree | 7218b937cce2fa4b8a87ae1c682552381c906496 /drivers/usb/storage/usb.h | |
parent | 7e4d6c387994294ac8198b624ee71e75de60dfd2 (diff) |
usb-storage: change remaining semaphore to completion
This patch (as1090) converts the one remaining semaphore in
usb-storage into a completion.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/usb.h')
-rw-r--r-- | drivers/usb/storage/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/storage/usb.h b/drivers/usb/storage/usb.h index b169132f021b..8da96da5875d 100644 --- a/drivers/usb/storage/usb.h +++ b/drivers/usb/storage/usb.h | |||
@@ -148,7 +148,7 @@ struct us_data { | |||
148 | struct task_struct *ctl_thread; /* the control thread */ | 148 | struct task_struct *ctl_thread; /* the control thread */ |
149 | 149 | ||
150 | /* mutual exclusion and synchronization structures */ | 150 | /* mutual exclusion and synchronization structures */ |
151 | struct semaphore sema; /* to sleep thread on */ | 151 | struct completion cmnd_ready; /* to sleep thread on */ |
152 | struct completion notify; /* thread begin/end */ | 152 | struct completion notify; /* thread begin/end */ |
153 | wait_queue_head_t delay_wait; /* wait during scan, reset */ | 153 | wait_queue_head_t delay_wait; /* wait during scan, reset */ |
154 | struct completion scanning_done; /* wait for scan thread */ | 154 | struct completion scanning_done; /* wait for scan thread */ |