mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
usb: Change usb_hcd->bandwidth_mutex to a pointer.
Change the bandwith_mutex in struct usb_hcd to a pointer. This will allow the pointer to be shared across usb_hcds for the upcoming work to split the xHCI driver roothub into a USB 2.0/1.1 and a USB 3.0 bus. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
This commit is contained in:
parent
23e0d1066f
commit
d673bfcbff
4 changed files with 26 additions and 17 deletions
|
@ -142,7 +142,7 @@ struct usb_hcd {
|
|||
* bandwidth_mutex should be dropped after a successful control message
|
||||
* to the device, or resetting the bandwidth after a failed attempt.
|
||||
*/
|
||||
struct mutex bandwidth_mutex;
|
||||
struct mutex *bandwidth_mutex;
|
||||
|
||||
|
||||
#define HCD_BUFFER_POOLS 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue