diff options
Diffstat (limited to 'include/linux/usb/composite.h')
| -rw-r--r-- | include/linux/usb/composite.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h index a316fba73518..9d8c3b634493 100644 --- a/include/linux/usb/composite.h +++ b/include/linux/usb/composite.h | |||
| @@ -242,6 +242,9 @@ int usb_add_config(struct usb_composite_dev *, | |||
| 242 | struct usb_configuration *, | 242 | struct usb_configuration *, |
| 243 | int (*)(struct usb_configuration *)); | 243 | int (*)(struct usb_configuration *)); |
| 244 | 244 | ||
| 245 | void usb_remove_config(struct usb_composite_dev *, | ||
| 246 | struct usb_configuration *); | ||
| 247 | |||
| 245 | /** | 248 | /** |
| 246 | * struct usb_composite_driver - groups configurations into a gadget | 249 | * struct usb_composite_driver - groups configurations into a gadget |
| 247 | * @name: For diagnostics, identifies the driver. | 250 | * @name: For diagnostics, identifies the driver. |
| @@ -250,6 +253,8 @@ int usb_add_config(struct usb_composite_dev *, | |||
| 250 | * @iManufacturer: Used as iManufacturer override if @dev->iManufacturer is | 253 | * @iManufacturer: Used as iManufacturer override if @dev->iManufacturer is |
| 251 | * not set. If NULL a default "<system> <release> with <udc>" value | 254 | * not set. If NULL a default "<system> <release> with <udc>" value |
| 252 | * will be used. | 255 | * will be used. |
| 256 | * @iSerialNumber: Used as iSerialNumber override if @dev->iSerialNumber is | ||
| 257 | * not set. | ||
| 253 | * @dev: Template descriptor for the device, including default device | 258 | * @dev: Template descriptor for the device, including default device |
| 254 | * identifiers. | 259 | * identifiers. |
| 255 | * @strings: tables of strings, keyed by identifiers assigned during bind() | 260 | * @strings: tables of strings, keyed by identifiers assigned during bind() |
| @@ -280,6 +285,7 @@ struct usb_composite_driver { | |||
| 280 | const char *name; | 285 | const char *name; |
| 281 | const char *iProduct; | 286 | const char *iProduct; |
| 282 | const char *iManufacturer; | 287 | const char *iManufacturer; |
| 288 | const char *iSerialNumber; | ||
| 283 | const struct usb_device_descriptor *dev; | 289 | const struct usb_device_descriptor *dev; |
| 284 | struct usb_gadget_strings **strings; | 290 | struct usb_gadget_strings **strings; |
| 285 | enum usb_device_speed max_speed; | 291 | enum usb_device_speed max_speed; |
