aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/of.h
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2015-09-21 11:14:32 +0300
committerFelipe Balbi <balbi@ti.com>2015-09-27 10:54:31 -0500
commit63863b988eeca2823ce76b28b104e0b8366cafec (patch)
tree7b30daaebfda473f60805afeef2ed696305ddf51 /include/linux/usb/of.h
parentusb: phy: change some comments (diff)
downloadlinux-dev-63863b988eeca2823ce76b28b104e0b8366cafec.tar.xz
linux-dev-63863b988eeca2823ce76b28b104e0b8366cafec.zip
usb: common: of_usb_get_maximum_speed to usb_get_maximum_speed
By using the unified device property interface, the function can be made available for all platforms and not just the ones using DT. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb/of.h')
-rw-r--r--include/linux/usb/of.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/usb/of.h b/include/linux/usb/of.h
index 8c5a818ec244..ff23fea49fca 100644
--- a/include/linux/usb/of.h
+++ b/include/linux/usb/of.h
@@ -13,7 +13,6 @@
#if IS_ENABLED(CONFIG_OF)
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);
int of_usb_update_otg_caps(struct device_node *np,
struct usb_otg_caps *otg_caps);
@@ -23,11 +22,6 @@ static inline enum usb_dr_mode of_usb_get_dr_mode(struct device_node *np)
return USB_DR_MODE_UNKNOWN;
}
-static inline enum usb_device_speed
-of_usb_get_maximum_speed(struct device_node *np)
-{
- return USB_SPEED_UNKNOWN;
-}
static inline bool of_usb_host_tpl_support(struct device_node *np)
{
return false;