projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38dac81
)
exynos: usb: make dwc3_set_mode to static
author
Joonyoung Shim
<jy0922.shim@samsung.com>
Wed, 21 Jan 2015 05:16:25 +0000
(14:16 +0900)
committer
Marek Vasut
<marex@denx.de>
Tue, 24 Feb 2015 17:54:03 +0000
(18:54 +0100)
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>
drivers/usb/host/xhci-exynos5.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci-exynos5.c
b/drivers/usb/host/xhci-exynos5.c
index a77c8bc91930524e75de4749accb927ab9d2d586..3f86fdca8973cb901e88d109e9d65e0f63f86e21 100644
(file)
--- 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),