You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Felipe Balbi
parent
3244a7b43f
commit
76190152fb
@@ -95,7 +95,7 @@ struct usbhs_priv *usbhs_pdev_to_priv(struct platform_device *pdev)
|
|||||||
/*
|
/*
|
||||||
* syscfg functions
|
* 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);
|
usbhs_bset(priv, SYSCFG, SCKE, enable ? SCKE : 0);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -283,7 +283,6 @@ int usbhsc_drvcllbck_notify_hotplug(struct platform_device *pdev);
|
|||||||
/*
|
/*
|
||||||
* sysconfig
|
* 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_host_ctrl(struct usbhs_priv *priv, int enable);
|
||||||
void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable);
|
void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user