summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoryinbo.zhu <yinbo.zhu@nxp.com>2017-04-24 09:24:24 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-09-25 07:25:29 (GMT)
commitf29014c818344ae4e104923786604578791833e6 (patch)
tree3dfe497551e4005fbb8b800fab5bc4cd83091a8b /include
parent49628514a21ed9a92b5f01a117a12be63ff16cc7 (diff)
downloadlinux-f29014c818344ae4e104923786604578791833e6.tar.xz
usb: dwc3: add function of_usb_get_dr_mode
Signed-off-by: yinbo.zhu <yinbo.zhu@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/of.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/of.h b/include/linux/usb/of.h
index 5ff9032..2a57e0d 100644
--- a/include/linux/usb/of.h
+++ b/include/linux/usb/of.h
@@ -11,6 +11,8 @@
#include <linux/usb/otg.h>
#include <linux/usb/phy.h>
+enum usb_dr_mode of_usb_get_dr_mode(struct device_node *np);
+
#if IS_ENABLED(CONFIG_OF)
enum usb_dr_mode of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0);
bool of_usb_host_tpl_support(struct device_node *np);