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.c | |
parent | 26722335253a9fa384ceb423419254cb00d0def1 (diff) | |
download | u-boot-121a4d13e679d86bf55bb3941eb33b10fa8c785b.tar.gz u-boot-121a4d13e679d86bf55bb3941eb33b10fa8c785b.tar.xz u-boot-121a4d13e679d86bf55bb3941eb33b10fa8c785b.zip |
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.c')
-rw-r--r-- | drivers/usb/host/xhci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 3201177476..bd8f4c43b4 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -192,7 +192,7 @@ static int xhci_start(struct xhci_hcor *hcor) * @param hcor pointer to host controller operation registers * @return -EBUSY if XHCI Controller is not halted else status of handshake */ -int xhci_reset(struct xhci_hcor *hcor) +static int xhci_reset(struct xhci_hcor *hcor) { u32 cmd; u32 state; @@ -481,7 +481,7 @@ static int xhci_address_device(struct usb_device *udev, int root_portnr) * @param udev pointer to the Device Data Structure * @return Returns 0 on succes else return error code on failure */ -int _xhci_alloc_device(struct usb_device *udev) +static int _xhci_alloc_device(struct usb_device *udev) { struct xhci_ctrl *ctrl = xhci_get_ctrl(udev); union xhci_trb *event; |