usb: xhci: fix build warning - missing prototype
authorJean-Philippe Menil <jpmenil@gmail.com>
Wed, 20 Feb 2019 17:50:52 +0000 (19:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Feb 2019 09:54:22 +0000 (10:54 +0100)
commit4ee925dfe017870340ab26503799376073e54759
tree30e06225ab55e2e0a94f755cd5c533dbbf463f7e
parentea5cc92517a709f97e9e413163bcab7b9c54fd55
usb: xhci: fix build warning - missing prototype

Fix build warning when building drivers/usb/host/xhci-mem.o with W=1 due
to missing prototype for xhci_free_virt_devices_depth_first.

This function is only used in xhci-mem.c so just make it static.

Signed-off-by: Jean-Philippe Menil <jpmenil@gmail.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mem.c