diff options
author | Len Brown <len.brown@intel.com> | 2012-06-04 00:35:19 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-06-04 00:35:19 -0400 |
commit | 7e1bd6e38b1f30860ce25a014c6d6adfb0079f4a (patch) | |
tree | 65c5898ba93007d4399150c7a127a670bcfbc30d /include/linux/usb/composite.h | |
parent | 301f33fbcf4ced53b3de114846ecece5d6aafeeb (diff) | |
parent | f8f5701bdaf9134b1f90e5044a82c66324d2073f (diff) |
Merge branch 'upstream' into bugfix-video
Update bugfix-video branch to 2.5-rc1
so I don't have to again resolve the
conflict in these patches vs. upstream.
Conflicts:
drivers/gpu/drm/gma500/psb_drv.c
text conflict: add comment vs delete neighboring line
keep just this:
/* igd_opregion_init(&dev_priv->opregion_dev); */
/* acpi_video_register(); */
Signed-off-by: Len Brown <len.brown@intel.com>
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; |