exynos: usb: make dwc3_set_mode to static
Subsystems (3)
PATCH 1/1 exynos: usb: make dwc3_set_mode to static
The dwc3_set_mode function is used only in drivers/usb/host/xhci-exynos5.c so make it to static.
Signed-off-by Joonyoung Shim <[email protected]>
--- drivers/usb/host/xhci-exynos5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/xhci-exynos5.c +1 -1
@@ -182,7 +182,7 @@ static void exynos5_usb3_phy_exit(struct exynos_usb3_phy *phy)set_usbdrd_phy_ctrl (POWER_USB_DRD_PHY_CTRL_DISABLE ); } -void dwc3_set_mode (struct dwc3 *dwc3_reg,u32 mode) +static void dwc3_set_mode (struct dwc3 *dwc3_reg,u32 mode) { clrsetbits_le32(&dwc3_reg->g_ctl, DWC3_GCTL_PRTCAPDIR(DWC3_GCTL_PRTCAP_OTG),
Signature · 1 line
1.9.1
PATCH 1/1 exynos: usb: make dwc3_set_mode to static
Quoted 7 lines · Joonyoung Shim
The
dwc3_set_modefunction is used only indrivers/usb/host/xhci-exynos5.cso make it to static.Signed-off-by Joonyoung Shim <[email protected]>--- drivers/usb/host/xhci-exynos5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Simon Glass <[email protected]>
Marek Vasut
AppliedPATCH 1/1 exynos: usb: make dwc3_set_mode to static
In reply to Joonyoung ShimQuoted 4 lines · Joonyoung Shim
The
dwc3_set_modefunction is used only indrivers/usb/host/xhci-exynos5.cso make it to static.Signed-off-by Joonyoung Shim <[email protected]>
Applied, thanks!
Best regards,
Marek Vasut