This patch adds support for the new get_resuming_ports HCD method to
the ehci-hcd driver.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        .bus_resume =           ehci_bus_resume,
        .relinquish_port =      ehci_relinquish_port,
        .port_handed_over =     ehci_port_handed_over,
+       .get_resuming_ports =   ehci_get_resuming_ports,
 
        /*
         * device support
 
        return -ESHUTDOWN;
 }
 
+static unsigned long ehci_get_resuming_ports(struct usb_hcd *hcd)
+{
+       struct ehci_hcd         *ehci = hcd_to_ehci(hcd);
+
+       return ehci->resuming_ports;
+}
+
 #else
 
 #define ehci_bus_suspend       NULL
 #define ehci_bus_resume                NULL
+#define ehci_get_resuming_ports        NULL
 
 #endif /* CONFIG_PM */