summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2015-01-21 14:16:25 +0900
committerMarek Vasut <marex@denx.de>2015-02-24 18:54:03 +0100
commit8f9f7be7af4e3662424da6fa0c3b7d1041c1b1d2 (patch)
tree041d75b090f8b040819d600f6853ff71415a7ac3
parent38dac81b3d0e777f301ca98100bfbcab01d616c2 (diff)
downloadtalos-obmc-uboot-8f9f7be7af4e3662424da6fa0c3b7d1041c1b1d2.tar.gz
talos-obmc-uboot-8f9f7be7af4e3662424da6fa0c3b7d1041c1b1d2.zip
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 <jy0922.shim@samsung.com>
-rw-r--r--drivers/usb/host/xhci-exynos5.c2
1 files changed, 1 insertions, 1 deletions
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),
OpenPOWER on IntegriCloud