aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-10-23 22:56:41 -0400
committerFelipe Balbi <balbi@ti.com>2011-12-12 04:44:56 -0500
commit76190152fb62650ea6530c166d9adbaa08cdb5d0 (patch)
treed38e96f30660a20c73d0a1ea096639749f0b44a9 /drivers
parent3244a7b43f13682c3323ee0d781f0cb212e8b3e7 (diff)
usb: gadget: renesas_usbhs: tidyup usbhs_sys_clock_ctrl() was local function
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/renesas_usbhs/common.c2
-rw-r--r--drivers/usb/renesas_usbhs/common.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c
index ce54abfde006..1ce32d92e720 100644
--- a/drivers/usb/renesas_usbhs/common.c
+++ b/drivers/usb/renesas_usbhs/common.c
@@ -95,7 +95,7 @@ struct usbhs_priv *usbhs_pdev_to_priv(struct platform_device *pdev)
95/* 95/*
96 * syscfg functions 96 * syscfg functions
97 */ 97 */
98void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable) 98static void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable)
99{ 99{
100 usbhs_bset(priv, SYSCFG, SCKE, enable ? SCKE : 0); 100 usbhs_bset(priv, SYSCFG, SCKE, enable ? SCKE : 0);
101} 101}
diff --git a/drivers/usb/renesas_usbhs/common.h b/drivers/usb/renesas_usbhs/common.h
index 46c9fd2f30ed..3199d3799045 100644
--- a/drivers/usb/renesas_usbhs/common.h
+++ b/drivers/usb/renesas_usbhs/common.h
@@ -283,7 +283,6 @@ int usbhsc_drvcllbck_notify_hotplug(struct platform_device *pdev);
283/* 283/*
284 * sysconfig 284 * sysconfig
285 */ 285 */
286void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable);
287void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable); 286void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable);
288void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable); 287void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable);
289 288