* [U-Boot] [PATCH] exynos: usb: make dwc3_set_mode to static
@ 2015-01-21 5:16 Joonyoung Shim
2015-01-21 16:02 ` Simon Glass
2015-01-22 7:12 ` Marek Vasut
0 siblings, 2 replies; 3+ messages in thread
From: Joonyoung Shim @ 2015-01-21 5:16 UTC (permalink / raw)
To: u-boot
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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),
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] exynos: usb: make dwc3_set_mode to static
2015-01-21 5:16 [U-Boot] [PATCH] exynos: usb: make dwc3_set_mode to static Joonyoung Shim
@ 2015-01-21 16:02 ` Simon Glass
2015-01-22 7:12 ` Marek Vasut
1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2015-01-21 16:02 UTC (permalink / raw)
To: u-boot
On 20 January 2015 at 22:16, Joonyoung Shim <jy0922.shim@samsung.com> wrote:
> 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 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] exynos: usb: make dwc3_set_mode to static
2015-01-21 5:16 [U-Boot] [PATCH] exynos: usb: make dwc3_set_mode to static Joonyoung Shim
2015-01-21 16:02 ` Simon Glass
@ 2015-01-22 7:12 ` Marek Vasut
1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2015-01-22 7:12 UTC (permalink / raw)
To: u-boot
On Wednesday, January 21, 2015 at 06:16:25 AM, Joonyoung Shim wrote:
> 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>
Applied, thanks!
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-22 7:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-21 5:16 [U-Boot] [PATCH] exynos: usb: make dwc3_set_mode to static Joonyoung Shim
2015-01-21 16:02 ` Simon Glass
2015-01-22 7:12 ` Marek Vasut
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox