Message ID | 1421817385-18930-1-git-send-email-jy0922.shim@samsung.com |
---|---|
State | Accepted |
Delegated to: | Marek Vasut |
Headers | show |
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>
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
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),
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(-)