diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/of.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/usb/of.h b/include/linux/usb/of.h index 4a34f955f884..f652d6062309 100644 --- a/include/linux/usb/of.h +++ b/include/linux/usb/of.h @@ -16,6 +16,8 @@ enum usb_dr_mode of_usb_get_dr_mode(struct device_node *np); enum usb_device_speed of_usb_get_maximum_speed(struct device_node *np); bool of_usb_host_tpl_support(struct device_node *np); bool of_usb_otg_adp_support(struct device_node *np); +void of_usb_set_otg_caps(struct device_node *np, + struct usb_otg_caps *otg_caps); #else static inline enum usb_dr_mode of_usb_get_dr_mode(struct device_node *np) { @@ -35,6 +37,11 @@ static inline bool of_usb_otg_srp_support(struct device_node *np) { return false; } +static inline void of_usb_set_otg_caps(struct device_node *np, + struct usb_otg_caps *otg_caps) +{ + +} #endif #if IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_USB_SUPPORT) |