diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-06-22 16:35:14 +0900 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2017-07-28 23:34:01 +0200 |
commit | 121a4d13e679d86bf55bb3941eb33b10fa8c785b (patch) | |
tree | e4093b770c70a8e87228c339c51e3a53a60cd330 /drivers/usb/host/xhci-dwc3.c | |
parent | 26722335253a9fa384ceb423419254cb00d0def1 (diff) | |
download | u-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.c | 2 |
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); |