aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2010-10-15 11:55:24 -0400
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2011-03-13 21:07:14 -0400
commitd673bfcbfffdeb56064a6b1ee047b85590bed76c (patch)
tree50a4efa53b8ca6815ca25292136e7990425f0d36 /include/linux/usb
parent23e0d1066f429ab44305e96fbff13f1793886277 (diff)
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>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/hcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h
index 0be61970074e..836aaa91ee15 100644
--- a/include/linux/usb/hcd.h
+++ b/include/linux/usb/hcd.h
@@ -142,7 +142,7 @@ struct usb_hcd {
142 * bandwidth_mutex should be dropped after a successful control message 142 * bandwidth_mutex should be dropped after a successful control message
143 * to the device, or resetting the bandwidth after a failed attempt. 143 * to the device, or resetting the bandwidth after a failed attempt.
144 */ 144 */
145 struct mutex bandwidth_mutex; 145 struct mutex *bandwidth_mutex;
146 146
147 147
148#define HCD_BUFFER_POOLS 4 148#define HCD_BUFFER_POOLS 4