summaryrefslogtreecommitdiffstats
path: root/include/usb/gadget.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb/gadget.h')
-rw-r--r--include/usb/gadget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/usb/gadget.h b/include/usb/gadget.h
index 8fd8b01f52..7106f9d788 100644
--- a/include/usb/gadget.h
+++ b/include/usb/gadget.h
@@ -554,6 +554,11 @@ struct usb_gadget {
unsigned a_hnp_support:1;
unsigned a_alt_hnp_support:1;
unsigned quirk_ep_out_aligned_size:1;
+
+ uint32_t vendor_id;
+ uint32_t product_id;
+ char *manufacturer;
+ char *productname;
};
#define work_to_gadget(w) (container_of((w), struct usb_gadget, work))