Skip to contentSkip to conversation

exynos: usb: make dwc3_set_mode to static

PATCH New Joonyoung Shim 3 participants 3 messages Jan 21, 2015 – Jan 22, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/usb/host/xhci-exynos5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/xhci-exynos5.c +1 -1
index a77c8bc..3f86fdc 100644
@@ -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),
Signature · 1 line
1.9.1