Thanks to Andrew for doing the hard work on this.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
return 0;
#endif
}
-
+EXPORT_SYMBOL_GPL(usb_suspend_device);
/*
* If the USB "suspend" state is in use (rather than "global suspend"),
(void) usb_suspend_device (hcd->self.root_hub);
#else
usb_lock_device (hcd->self.root_hub);
- (void) ehci_hub_suspend (hcd);
+ (void) ehci_bus_suspend (hcd);
usb_unlock_device (hcd->self.root_hub);
#endif
continue;
if (status & (PORT_SUSPEND | PORT_OWNER)) {
down (&hcd->self.root_hub->serialize);
- retval = ehci_hub_resume (hcd);
+ retval = ehci_bus_resume (hcd);
up (&hcd->self.root_hub->serialize);
break;
}