summaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs/common.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-10-31 08:47:13 +0100
committerFelipe Balbi <balbi@ti.com>2011-12-12 10:45:02 +0100
commit3dd492686c063f9fa9417c3888e7a8eeb504b5b9 (patch)
treee5d818432b17dce93c85575ad62ff09d0b235ca6 /drivers/usb/renesas_usbhs/common.c
parentusb: gadget: renesas_usbhs: usbhsh_ureq_alloc/free() care urb->hcpriv (diff)
downloadlinux-3dd492686c063f9fa9417c3888e7a8eeb504b5b9.tar.xz
linux-3dd492686c063f9fa9417c3888e7a8eeb504b5b9.zip
usb: gadget: renesas_usbhs: modify function name of usbhs_set_device_xx()
it was device configuration setting function, not only speed. This patch modify function name usbhs_set_device_speed() -> usbhs_set_device_config() Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs/common.c')
-rw-r--r--drivers/usb/renesas_usbhs/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c
index 0fea6b63ccce..016a34f58523 100644
--- a/drivers/usb/renesas_usbhs/common.c
+++ b/drivers/usb/renesas_usbhs/common.c
@@ -219,7 +219,7 @@ static void usbhsc_bus_init(struct usbhs_priv *priv)
/*
* device configuration
*/
-int usbhs_set_device_speed(struct usbhs_priv *priv, int devnum,
+int usbhs_set_device_config(struct usbhs_priv *priv, int devnum,
u16 upphub, u16 hubport, u16 speed)
{
struct device *dev = usbhs_priv_to_dev(priv);