usb: gadget: renesas_usbhs: tidyup usbhs_sys_clock_ctrl() was local function
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 24 Oct 2011 02:56:41 +0000 (19:56 -0700)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Dec 2011 09:44:56 +0000 (11:44 +0200)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/common.c
drivers/usb/renesas_usbhs/common.h

index ce54abfde006d22e19a672ec049c209f97938bed..1ce32d92e72055549aae7434185cc41fdd67389f 100644 (file)
@@ -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);
 }
index 46c9fd2f30ed87baf09782cb31fd5825964b3192..3199d3799045d8de2ae5d4ab344baf52577b49e1 100644 (file)
@@ -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);