aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-10-31 03:47:13 -0400
committerFelipe Balbi <balbi@ti.com>2011-12-12 04:45:02 -0500
commit3dd492686c063f9fa9417c3888e7a8eeb504b5b9 (patch)
treee5d818432b17dce93c85575ad62ff09d0b235ca6
parentfc9d5c79f681a7bff588d32de9429be360996df7 (diff)
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>
-rw-r--r--drivers/usb/renesas_usbhs/common.c2
-rw-r--r--drivers/usb/renesas_usbhs/common.h2
-rw-r--r--drivers/usb/renesas_usbhs/mod_host.c4
3 files changed, 4 insertions, 4 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)
219/* 219/*
220 * device configuration 220 * device configuration
221 */ 221 */
222int usbhs_set_device_speed(struct usbhs_priv *priv, int devnum, 222int usbhs_set_device_config(struct usbhs_priv *priv, int devnum,
223 u16 upphub, u16 hubport, u16 speed) 223 u16 upphub, u16 hubport, u16 speed)
224{ 224{
225 struct device *dev = usbhs_priv_to_dev(priv); 225 struct device *dev = usbhs_priv_to_dev(priv);
diff --git a/drivers/usb/renesas_usbhs/common.h b/drivers/usb/renesas_usbhs/common.h
index e255015072a6..71c295c76d9e 100644
--- a/drivers/usb/renesas_usbhs/common.h
+++ b/drivers/usb/renesas_usbhs/common.h
@@ -306,7 +306,7 @@ int usbhs_frame_get_num(struct usbhs_priv *priv);
306/* 306/*
307 * device config 307 * device config
308 */ 308 */
309int usbhs_set_device_speed(struct usbhs_priv *priv, int devnum, u16 upphub, 309int usbhs_set_device_config(struct usbhs_priv *priv, int devnum, u16 upphub,
310 u16 hubport, u16 speed); 310 u16 hubport, u16 speed);
311 311
312/* 312/*
diff --git a/drivers/usb/renesas_usbhs/mod_host.c b/drivers/usb/renesas_usbhs/mod_host.c
index 0b88e88c5ee6..7fa460e2a8c0 100644
--- a/drivers/usb/renesas_usbhs/mod_host.c
+++ b/drivers/usb/renesas_usbhs/mod_host.c
@@ -317,7 +317,7 @@ usbhsh_device_find:
317 udev->usbv = usbv; 317 udev->usbv = usbv;
318 318
319 /* set device config */ 319 /* set device config */
320 usbhs_set_device_speed(priv, 320 usbhs_set_device_config(priv,
321 usbhsh_device_number(hpriv, udev), 321 usbhsh_device_number(hpriv, udev),
322 usbhsh_device_number(hpriv, udev), 322 usbhsh_device_number(hpriv, udev),
323 0, /* FIXME no parent */ 323 0, /* FIXME no parent */
@@ -433,7 +433,7 @@ usbhsh_endpoint_alloc_find_pipe:
433 433
434 /* 434 /*
435 * usbhs_pipe_config_update() should be called after 435 * usbhs_pipe_config_update() should be called after
436 * usbhs_device_config() 436 * usbhs_set_device_config()
437 * see 437 * see
438 * DCPMAXP/PIPEMAXP 438 * DCPMAXP/PIPEMAXP
439 */ 439 */