aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-03-07 04:13:43 -0500
committerFelipe Balbi <balbi@ti.com>2013-03-18 05:18:05 -0400
commitedc7cb2e955f222fe51cd44c1cf9c94d58017344 (patch)
treeb2ca2f250c9a638128469fbaaa5db1f63928f9f6 /include
parenta0e631235a04f8a815a1ecec93ef418f7d1e6086 (diff)
usb: phy: make it a menuconfig
We already have a considerable amount of USB PHY drivers, making it a menuconfig just prevents us from adding too much churn to USB's menuconfig. While at that, also select USB_OTG_UTILS from this new menuconfig just to keep backwards compatibility until we manage to remove that symbol. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/phy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/phy.h b/include/linux/usb/phy.h
index 15847cbdb512..b001dc3d6354 100644
--- a/include/linux/usb/phy.h
+++ b/include/linux/usb/phy.h
@@ -161,7 +161,7 @@ usb_phy_shutdown(struct usb_phy *x)
161} 161}
162 162
163/* for usb host and peripheral controller drivers */ 163/* for usb host and peripheral controller drivers */
164#ifdef CONFIG_USB_OTG_UTILS 164#if IS_ENABLED(CONFIG_USB_PHY)
165extern struct usb_phy *usb_get_phy(enum usb_phy_type type); 165extern struct usb_phy *usb_get_phy(enum usb_phy_type type);
166extern struct usb_phy *devm_usb_get_phy(struct device *dev, 166extern struct usb_phy *devm_usb_get_phy(struct device *dev,
167 enum usb_phy_type type); 167 enum usb_phy_type type);