diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-11-11 15:13:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-14 10:18:22 +0100 |
commit | 2d6d5769f82dc266e86a06f70eaae23265f757d6 (patch) | |
tree | f40428761eb8e15e57d83b16807c164ebcba6120 /drivers/usb/host/xhci-ring.c | |
parent | 0d58a1a047fb897d963faea0112089378285def5 (diff) | |
download | lwn-2d6d5769f82dc266e86a06f70eaae23265f757d6.tar.gz lwn-2d6d5769f82dc266e86a06f70eaae23265f757d6.zip |
xhci: fix non static symbol warning
Fixes the following sparse warning:
drivers/usb/host/xhci-ring.c:608:6: warning:
symbol 'xhci_unmap_td_bounce_buffer' was not declared.
Should it be static?
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
-rw-r--r-- | drivers/usb/host/xhci-ring.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index daba590d1c4b..2df6e17af51a 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -586,8 +586,8 @@ static void xhci_giveback_urb_in_irq(struct xhci_hcd *xhci, } } -void xhci_unmap_td_bounce_buffer(struct xhci_hcd *xhci, struct xhci_ring *ring, - struct xhci_td *td) +static void xhci_unmap_td_bounce_buffer(struct xhci_hcd *xhci, + struct xhci_ring *ring, struct xhci_td *td) { struct device *dev = xhci_to_hcd(xhci)->self.controller; struct xhci_segment *seg = td->bounce_seg; |