diff options
| author | Li Jun <b47624@freescale.com> | 2014-06-23 03:39:35 -0400 |
|---|---|---|
| committer | Li Jun <B47624@freescale.com> | 2014-06-26 04:49:37 -0400 |
| commit | c2df0104f56d83b9bdc06e350358dc4cdffa87df (patch) | |
| tree | c41b94ec4d548906d77beac0e6bf636d1eccdca6 /include/linux | |
| parent | a9f934b39d55dfb23cc1946457d3e4afd0110044 (diff) | |
ENGR00319720-1 usb: gadget: add host_request_flag in usb_gadget for OTG
This patch adds host_request_flag in usb_gadget to store host request
information from application.
Signed-off-by: Li Jun <b47624@freescale.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/usb/gadget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index 08c6877f7a2b..28e99a181b35 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h | |||
| @@ -536,6 +536,7 @@ struct usb_gadget { | |||
| 536 | unsigned b_hnp_enable:1; | 536 | unsigned b_hnp_enable:1; |
| 537 | unsigned a_hnp_support:1; | 537 | unsigned a_hnp_support:1; |
| 538 | unsigned a_alt_hnp_support:1; | 538 | unsigned a_alt_hnp_support:1; |
| 539 | unsigned host_request_flag:1; | ||
| 539 | const char *name; | 540 | const char *name; |
| 540 | struct device dev; | 541 | struct device dev; |
| 541 | unsigned out_epnum; | 542 | unsigned out_epnum; |
