summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-dwc3.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-06-22 16:35:14 +0900
committerMarek Vasut <marex@denx.de>2017-07-28 23:34:01 +0200
commit121a4d13e679d86bf55bb3941eb33b10fa8c785b (patch)
treee4093b770c70a8e87228c339c51e3a53a60cd330 /drivers/usb/host/xhci-dwc3.c
parent26722335253a9fa384ceb423419254cb00d0def1 (diff)
downloadu-boot-121a4d13e679d86bf55bb3941eb33b10fa8c785b.tar.gz
usb: add static to local symbols
Sparse reports "... was not declared. Should it be static?" Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/usb/host/xhci-dwc3.c')
-rw-r--r--drivers/usb/host/xhci-dwc3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-dwc3.c b/drivers/usb/host/xhci-dwc3.c
index 33961cd634..a4591f2e02 100644
--- a/drivers/usb/host/xhci-dwc3.c
+++ b/drivers/usb/host/xhci-dwc3.c
@@ -19,7 +19,7 @@ void dwc3_set_mode(struct dwc3 *dwc3_reg, u32 mode)
DWC3_GCTL_PRTCAPDIR(mode));
}
-void dwc3_phy_reset(struct dwc3 *dwc3_reg)
+static void dwc3_phy_reset(struct dwc3 *dwc3_reg)
{
/* Assert USB3 PHY reset */
setbits_le32(&dwc3_reg->g_usb3pipectl[0], DWC3_GUSB3PIPECTL_PHYSOFTRST);