summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2018-06-08 22:59:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-25 15:44:43 +0200
commit8f9cc83c06d44081d7c7e179f778cbeb4d074fa7 (patch)
treecc994e13b3bae9d093f5788999688f8337840fd9 /drivers/usb/host/xhci.h
parentUSB: ehci-hcd: Add get_resuming_ports method (diff)
downloadlinux-8f9cc83c06d44081d7c7e179f778cbeb4d074fa7.tar.xz
linux-8f9cc83c06d44081d7c7e179f778cbeb4d074fa7.zip
USB: xhci-hcd: Add get_resuming_ports method
This patch adds support for the new get_resuming_ports HCD method to the xhci-hcd driver. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r--drivers/usb/host/xhci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 939e2f86b595..ece5891240f0 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -2110,9 +2110,11 @@ void xhci_hc_died(struct xhci_hcd *xhci);
#ifdef CONFIG_PM
int xhci_bus_suspend(struct usb_hcd *hcd);
int xhci_bus_resume(struct usb_hcd *hcd);
+unsigned long xhci_get_resuming_ports(struct usb_hcd *hcd);
#else
#define xhci_bus_suspend NULL
#define xhci_bus_resume NULL
+#define xhci_get_resuming_ports NULL
#endif /* CONFIG_PM */
u32 xhci_port_state_to_neutral(u32 state);