]> git.ipfire.org Git - people/arne_f/kernel.git/blobdiff - include/linux/usb/of.h
usb: of: fix build breakage caused by recent patches
[people/arne_f/kernel.git] / include / linux / usb / of.h
index 5a7cb9ebf0efb77b38580d070c2f1b25dbd9eac2..8c38aa26b3bb6dba5a1ef37b6104d701cc03fcdb 100644 (file)
@@ -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)