From: Wei Yongjun Date: Fri, 11 Nov 2016 13:13:21 +0000 (+0200) Subject: xhci: fix non static symbol warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2d6d5769f82dc266e86a06f70eaae23265f757d6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- 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;