diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-10-24 04:56:41 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-12 10:44:56 +0100 |
commit | 76190152fb62650ea6530c166d9adbaa08cdb5d0 (patch) | |
tree | d38e96f30660a20c73d0a1ea096639749f0b44a9 /drivers/usb/renesas_usbhs | |
parent | usb: gadget: renesas_usbhs: remove usbhs_sys_usb_ctrl() (diff) | |
download | linux-76190152fb62650ea6530c166d9adbaa08cdb5d0.tar.xz linux-76190152fb62650ea6530c166d9adbaa08cdb5d0.zip |
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/usb/renesas_usbhs')
-rw-r--r-- | drivers/usb/renesas_usbhs/common.c | 2 | ||||
-rw-r--r-- | drivers/usb/renesas_usbhs/common.h | 1 |
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) /* * syscfg functions */ -void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable) +static void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable) { usbhs_bset(priv, SYSCFG, SCKE, enable ? SCKE : 0); } 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); /* * sysconfig */ -void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable); void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable); void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable); |