From: Joonyoung Shim Date: Wed, 21 Jan 2015 05:16:25 +0000 (+0900) Subject: exynos: usb: make dwc3_set_mode to static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8f9f7be7af4e3662424da6fa0c3b7d1041c1b1d2;p=project%2Fbcm63xx%2Fu-boot.git 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 --- diff --git a/drivers/usb/host/xhci-exynos5.c b/drivers/usb/host/xhci-exynos5.c index a77c8bc919..3f86fdca89 100644 --- a/drivers/usb/host/xhci-exynos5.c +++ b/drivers/usb/host/xhci-exynos5.c @@ -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),