summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-03-29 02:20:10 +0000
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-05-21 10:36:14 +0300
commit691025107eb7544fdd25f836c8c6e857a344828b (patch)
treee62d3a9ceeb8716a0c17213c406790999c232c4d /drivers/usb/dwc3
parentfe70dce97c1d8b4e5b2ea1d2396f3b78d29285bf (diff)
downloadblackbird-obmc-linux-691025107eb7544fdd25f836c8c6e857a344828b.tar.gz
blackbird-obmc-linux-691025107eb7544fdd25f836c8c6e857a344828b.zip
usb: dwc3: gadget: dwc3_gadget_del_and_unmap_request() can be static
Fixes the following sparse warning: drivers/usb/dwc3/gadget.c:169:6: warning: symbol 'dwc3_gadget_del_and_unmap_request' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r--drivers/usb/dwc3/gadget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 4ca593cff15e..eeb30133878e 100644
--- a/drivers/usb/dwc3/gadget.c
+++ b/drivers/usb/dwc3/gadget.c
@@ -169,7 +169,7 @@ static void dwc3_ep_inc_deq(struct dwc3_ep *dep)
dwc3_ep_inc_trb(&dep->trb_dequeue);
}
-void dwc3_gadget_del_and_unmap_request(struct dwc3_ep *dep,
+static void dwc3_gadget_del_and_unmap_request(struct dwc3_ep *dep,
struct dwc3_request *req, int status)
{
struct dwc3 *dwc = dep->dwc;
OpenPOWER on IntegriCloud