提交 4303fc6f 编写于 作者: G Greg Kroah-Hartman

USB: fix up some odd parts due to partial merges

Thanks to Andrew for doing the hard work on this.
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 50260b69
......@@ -1674,7 +1674,7 @@ int usb_suspend_device(struct usb_device *udev)
return 0;
#endif
}
EXPORT_SYMBOL_GPL(usb_suspend_device);
/*
* If the USB "suspend" state is in use (rather than "global suspend"),
......
......@@ -252,7 +252,7 @@ static int ehci_pci_suspend (struct usb_hcd *hcd, pm_message_t message)
(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
......@@ -285,7 +285,7 @@ static int ehci_pci_resume (struct usb_hcd *hcd)
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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册