diff options
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/composite.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h index 99830d63d8f1..a3e72dfa6996 100644 --- a/include/linux/usb/composite.h +++ b/include/linux/usb/composite.h | |||
@@ -240,6 +240,7 @@ int usb_add_config(struct usb_composite_dev *, | |||
240 | * identifiers. | 240 | * identifiers. |
241 | * @strings: tables of strings, keyed by identifiers assigned during bind() | 241 | * @strings: tables of strings, keyed by identifiers assigned during bind() |
242 | * and language IDs provided in control requests | 242 | * and language IDs provided in control requests |
243 | * @max_speed: Highest speed the driver supports. | ||
243 | * @needs_serial: set to 1 if the gadget needs userspace to provide | 244 | * @needs_serial: set to 1 if the gadget needs userspace to provide |
244 | * a serial number. If one is not provided, warning will be printed. | 245 | * a serial number. If one is not provided, warning will be printed. |
245 | * @unbind: Reverses bind; called as a side effect of unregistering | 246 | * @unbind: Reverses bind; called as a side effect of unregistering |
@@ -267,6 +268,7 @@ struct usb_composite_driver { | |||
267 | const char *iManufacturer; | 268 | const char *iManufacturer; |
268 | const struct usb_device_descriptor *dev; | 269 | const struct usb_device_descriptor *dev; |
269 | struct usb_gadget_strings **strings; | 270 | struct usb_gadget_strings **strings; |
271 | enum usb_device_speed max_speed; | ||
270 | unsigned needs_serial:1; | 272 | unsigned needs_serial:1; |
271 | 273 | ||
272 | int (*unbind)(struct usb_composite_dev *); | 274 | int (*unbind)(struct usb_composite_dev *); |