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/ehci-hcd.c | |
parent | 26722335253a9fa384ceb423419254cb00d0def1 (diff) |
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/ehci-hcd.c')
-rw-r--r-- | drivers/usb/host/ehci-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 13aa70d606..f08709d021 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -937,7 +937,7 @@ unknown: return -1; } -const struct ehci_ops default_ehci_ops = { +static const struct ehci_ops default_ehci_ops = { .set_usb_mode = ehci_set_usbmode, .get_port_speed = ehci_get_port_speed, .powerup_fixup = ehci_powerup_fixup, |