diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2015-09-21 10:14:32 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-09-27 17:54:31 +0200 |
commit | 63863b988eeca2823ce76b28b104e0b8366cafec (patch) | |
tree | 7b30daaebfda473f60805afeef2ed696305ddf51 /drivers/usb/musb | |
parent | usb: phy: change some comments (diff) | |
download | linux-63863b988eeca2823ce76b28b104e0b8366cafec.tar.xz linux-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 'drivers/usb/musb')
-rw-r--r-- | drivers/usb/musb/musb_dsps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index c8b2ec9a79d6..c6a69eaf280f 100644 --- a/drivers/usb/musb/musb_dsps.c +++ b/drivers/usb/musb/musb_dsps.c @@ -747,7 +747,7 @@ static int dsps_create_musb_pdev(struct dsps_glue *glue, if (!ret && val) config->multipoint = true; - config->maximum_speed = of_usb_get_maximum_speed(dn); + config->maximum_speed = usb_get_maximum_speed(&parent->dev); switch (config->maximum_speed) { case USB_SPEED_LOW: case USB_SPEED_FULL: |