diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/usb/composite.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h index 9c3903d76781..7373203140e7 100644 --- a/include/linux/usb/composite.h +++ b/include/linux/usb/composite.h | |||
| @@ -64,6 +64,7 @@ struct usb_configuration; | |||
| 64 | * @name: Extended Property name | 64 | * @name: Extended Property name |
| 65 | * @data_len: Length of Extended Property blob (for unicode store double len) | 65 | * @data_len: Length of Extended Property blob (for unicode store double len) |
| 66 | * @data: Extended Property blob | 66 | * @data: Extended Property blob |
| 67 | * @item: Represents this Extended Property in configfs | ||
| 67 | */ | 68 | */ |
| 68 | struct usb_os_desc_ext_prop { | 69 | struct usb_os_desc_ext_prop { |
| 69 | struct list_head entry; | 70 | struct list_head entry; |
| @@ -72,6 +73,7 @@ struct usb_os_desc_ext_prop { | |||
| 72 | char *name; | 73 | char *name; |
| 73 | int data_len; | 74 | int data_len; |
| 74 | char *data; | 75 | char *data; |
| 76 | struct config_item item; | ||
| 75 | }; | 77 | }; |
| 76 | 78 | ||
| 77 | /** | 79 | /** |
| @@ -82,6 +84,7 @@ struct usb_os_desc_ext_prop { | |||
| 82 | * @ext_prop_count: Number of Extended Properties | 84 | * @ext_prop_count: Number of Extended Properties |
| 83 | * @opts_mutex: Optional mutex protecting config data of a usb_function_instance | 85 | * @opts_mutex: Optional mutex protecting config data of a usb_function_instance |
| 84 | * @group: Represents OS descriptors associated with an interface in configfs | 86 | * @group: Represents OS descriptors associated with an interface in configfs |
| 87 | * @owner: Module associated with this OS descriptor | ||
| 85 | */ | 88 | */ |
| 86 | struct usb_os_desc { | 89 | struct usb_os_desc { |
| 87 | char *ext_compat_id; | 90 | char *ext_compat_id; |
| @@ -90,6 +93,7 @@ struct usb_os_desc { | |||
| 90 | int ext_prop_count; | 93 | int ext_prop_count; |
| 91 | struct mutex *opts_mutex; | 94 | struct mutex *opts_mutex; |
| 92 | struct config_group group; | 95 | struct config_group group; |
| 96 | struct module *owner; | ||
| 93 | }; | 97 | }; |
| 94 | 98 | ||
| 95 | /** | 99 | /** |
