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 139353efad34..890bc1472190 100644 --- a/include/linux/usb/composite.h +++ b/include/linux/usb/composite.h | |||
| @@ -276,6 +276,8 @@ struct usb_composite_driver { | |||
| 276 | int (*bind)(struct usb_composite_dev *); | 276 | int (*bind)(struct usb_composite_dev *); |
| 277 | int (*unbind)(struct usb_composite_dev *); | 277 | int (*unbind)(struct usb_composite_dev *); |
| 278 | 278 | ||
| 279 | void (*disconnect)(struct usb_composite_dev *); | ||
| 280 | |||
| 279 | /* global suspend hooks */ | 281 | /* global suspend hooks */ |
| 280 | void (*suspend)(struct usb_composite_dev *); | 282 | void (*suspend)(struct usb_composite_dev *); |
| 281 | void (*resume)(struct usb_composite_dev *); | 283 | void (*resume)(struct usb_composite_dev *); |
| @@ -342,6 +344,10 @@ struct usb_composite_dev { | |||
| 342 | }; | 344 | }; |
| 343 | 345 | ||
| 344 | extern int usb_string_id(struct usb_composite_dev *c); | 346 | extern int usb_string_id(struct usb_composite_dev *c); |
| 347 | extern int usb_string_ids_tab(struct usb_composite_dev *c, | ||
| 348 | struct usb_string *str); | ||
| 349 | extern int usb_string_ids_n(struct usb_composite_dev *c, unsigned n); | ||
| 350 | |||
| 345 | 351 | ||
| 346 | /* messaging utils */ | 352 | /* messaging utils */ |
| 347 | #define DBG(d, fmt, args...) \ | 353 | #define DBG(d, fmt, args...) \ |
