diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/of.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/of.h b/include/linux/usb/of.h index 5a7cb9e..8c38aa2 100644 --- a/include/linux/usb/of.h +++ b/include/linux/usb/of.h @@ -27,7 +27,7 @@ of_usb_get_maximum_speed(struct device_node *np) } #endif -#if IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_USB_PHY) +#if IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_USB_SUPPORT) enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np); #else static inline enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np) |