diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2015-01-21 14:16:25 +0900 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-02-24 18:54:03 +0100 |
commit | 8f9f7be7af4e3662424da6fa0c3b7d1041c1b1d2 (patch) | |
tree | 041d75b090f8b040819d600f6853ff71415a7ac3 /drivers/usb | |
parent | 38dac81b3d0e777f301ca98100bfbcab01d616c2 (diff) | |
download | u-boot-imx-8f9f7be7af4e3662424da6fa0c3b7d1041c1b1d2.zip u-boot-imx-8f9f7be7af4e3662424da6fa0c3b7d1041c1b1d2.tar.gz u-boot-imx-8f9f7be7af4e3662424da6fa0c3b7d1041c1b1d2.tar.bz2 |
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/xhci-exynos5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-exynos5.c b/drivers/usb/host/xhci-exynos5.c index a77c8bc..3f86fdc 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), |