Commit 26bba5c7 authored by Guoqing Zhang's avatar Guoqing Zhang Committed by Greg Kroah-Hartman

usb: xhci: Expose xhci_start() function.

Change the visability of xhci_start() so that it
can be used when enabling test mode.
Signed-off-by: default avatarGuoqing Zhang <guoqing.zhang@intel.com>
Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f9e609b8
...@@ -125,7 +125,7 @@ int xhci_halt(struct xhci_hcd *xhci) ...@@ -125,7 +125,7 @@ int xhci_halt(struct xhci_hcd *xhci)
/* /*
* Set the run bit and wait for the host to be running. * Set the run bit and wait for the host to be running.
*/ */
static int xhci_start(struct xhci_hcd *xhci) int xhci_start(struct xhci_hcd *xhci)
{ {
u32 temp; u32 temp;
int ret; int ret;
......
...@@ -2010,6 +2010,7 @@ typedef void (*xhci_get_quirks_t)(struct device *, struct xhci_hcd *); ...@@ -2010,6 +2010,7 @@ typedef void (*xhci_get_quirks_t)(struct device *, struct xhci_hcd *);
int xhci_handshake(void __iomem *ptr, u32 mask, u32 done, int usec); int xhci_handshake(void __iomem *ptr, u32 mask, u32 done, int usec);
void xhci_quiesce(struct xhci_hcd *xhci); void xhci_quiesce(struct xhci_hcd *xhci);
int xhci_halt(struct xhci_hcd *xhci); int xhci_halt(struct xhci_hcd *xhci);
int xhci_start(struct xhci_hcd *xhci);
int xhci_reset(struct xhci_hcd *xhci); int xhci_reset(struct xhci_hcd *xhci);
int xhci_init(struct usb_hcd *hcd); int xhci_init(struct usb_hcd *hcd);
int xhci_run(struct usb_hcd *hcd); int xhci_run(struct usb_hcd *hcd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment