| From 064174f9a631fae05598d530ac80898a3fde5443 Mon Sep 17 00:00:00 2001 |
| From: Wei Yongjun <weiyj.lk@gmail.com> |
| Date: Fri, 11 Nov 2016 15:13:21 +0200 |
| Subject: [PATCH 285/299] 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> |
| (cherry picked from commit 2d6d5769f82dc266e86a06f70eaae23265f757d6) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| drivers/usb/host/xhci-ring.c | 4 ++-- |
| 1 file changed, 2 insertions(+), 2 deletions(-) |
| |
| --- a/drivers/usb/host/xhci-ring.c |
| +++ b/drivers/usb/host/xhci-ring.c |
| @@ -653,8 +653,8 @@ static void xhci_giveback_urb_in_irq(str |
| } |
| } |
| |
| -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; |