diff options
author | Li Jun <jun.li@freescale.com> | 2015-06-17 16:38:47 +0800 |
---|---|---|
committer | Li Jun <jun.li@freescale.com> | 2015-07-22 10:22:10 +0800 |
commit | 72673b2646f4b1915a127395e850ae8be93a9e7d (patch) | |
tree | ccae988d50d5746063df6b68ea7dd7075629826f /include | |
parent | f67334791e0380b5020ab0b14d1b29c9e034ad41 (diff) |
MLK-11123-8 usb: chipidea: set usb gadeget's otg capabilities
Set gadget's otg capabilities according to controller's capability and otg
properties in device tree.
Signed-off-by: Li Jun <jun.li@freescale.com>
(cherry picked from commit ec53d399f649b9d3eeefd0e4f1b7770241f9db63)
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/chipidea.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h index 5fcb7b70f374..fbb1b0f4bdf4 100644 --- a/include/linux/usb/chipidea.h +++ b/include/linux/usb/chipidea.h @@ -53,6 +53,7 @@ struct ci_hdrc_platform_data { #define CI_HDRC_IMX_ADP_ATTACH_EVENT 13 int (*notify_event)(struct ci_hdrc *ci, unsigned event); struct regulator *reg_vbus; + struct usb_otg_caps ci_otg_caps; bool tpl_support; bool adp_support; u32 ahbburst_config; |