Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 436e8c7d authored by Andrew Bresticker's avatar Andrew Bresticker Committed by Greg Kroah-Hartman
Browse files

xhci: Export symbols used by host-controller drivers



In preparation for allowing the xHCI host controller drivers to be built
as separate modules, export symbols from the xHCI core that may be used
by the host controller drivers.

Signed-off-by: default avatarAndrew Bresticker <abrestic@chromium.org>
Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e1cd9727
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -594,3 +594,4 @@ void xhci_dbg_trace(struct xhci_hcd *xhci, void (*trace)(struct va_format *),
	trace(&vaf);
	trace(&vaf);
	va_end(args);
	va_end(args);
}
}
EXPORT_SYMBOL_GPL(xhci_dbg_trace);
+2 −0
Original line number Original line Diff line number Diff line
@@ -13,3 +13,5 @@


#define CREATE_TRACE_POINTS
#define CREATE_TRACE_POINTS
#include "xhci-trace.h"
#include "xhci-trace.h"

EXPORT_TRACEPOINT_SYMBOL_GPL(xhci_dbg_quirks);
+4 −0
Original line number Original line Diff line number Diff line
@@ -653,6 +653,7 @@ int xhci_run(struct usb_hcd *hcd)
			"Finished xhci_run for USB2 roothub");
			"Finished xhci_run for USB2 roothub");
	return 0;
	return 0;
}
}
EXPORT_SYMBOL_GPL(xhci_run);


static void xhci_only_stop_hcd(struct usb_hcd *hcd)
static void xhci_only_stop_hcd(struct usb_hcd *hcd)
{
{
@@ -929,6 +930,7 @@ int xhci_suspend(struct xhci_hcd *xhci)


	return rc;
	return rc;
}
}
EXPORT_SYMBOL_GPL(xhci_suspend);


/*
/*
 * start xHC (not bus-specific)
 * start xHC (not bus-specific)
@@ -1082,6 +1084,7 @@ int xhci_resume(struct xhci_hcd *xhci, bool hibernated)


	return retval;
	return retval;
}
}
EXPORT_SYMBOL_GPL(xhci_resume);
#endif	/* CONFIG_PM */
#endif	/* CONFIG_PM */


/*-------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------*/
@@ -4902,6 +4905,7 @@ error:
	kfree(xhci);
	kfree(xhci);
	return retval;
	return retval;
}
}
EXPORT_SYMBOL_GPL(xhci_gen_setup);


static const struct hc_driver xhci_hc_driver = {
static const struct hc_driver xhci_hc_driver = {
	.description =		"xhci-hcd",
	.description =		"xhci-hcd",