aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/hcd-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/core/hcd-pci.c')
-rw-r--r--drivers/usb/core/hcd-pci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c
index 739407bb8492..5b87ae7f0a6a 100644
--- a/drivers/usb/core/hcd-pci.c
+++ b/drivers/usb/core/hcd-pci.c
@@ -215,9 +215,9 @@ int usb_hcd_pci_suspend(struct pci_dev *dev, pm_message_t message)
215 hcd->state == HC_STATE_HALT)) 215 hcd->state == HC_STATE_HALT))
216 return -EBUSY; 216 return -EBUSY;
217 217
218 if (hcd->driver->suspend) { 218 if (hcd->driver->pci_suspend) {
219 retval = hcd->driver->suspend(hcd, message); 219 retval = hcd->driver->pci_suspend(hcd, message);
220 suspend_report_result(hcd->driver->suspend, retval); 220 suspend_report_result(hcd->driver->pci_suspend, retval);
221 if (retval) 221 if (retval)
222 goto done; 222 goto done;
223 } 223 }
@@ -405,8 +405,8 @@ int usb_hcd_pci_resume(struct pci_dev *dev)
405 405
406 clear_bit(HCD_FLAG_SAW_IRQ, &hcd->flags); 406 clear_bit(HCD_FLAG_SAW_IRQ, &hcd->flags);
407 407
408 if (hcd->driver->resume) { 408 if (hcd->driver->pci_resume) {
409 retval = hcd->driver->resume(hcd); 409 retval = hcd->driver->pci_resume(hcd);
410 if (retval) { 410 if (retval) {
411 dev_err(hcd->self.controller, 411 dev_err(hcd->self.controller,
412 "PCI post-resume error %d!\n", retval); 412 "PCI post-resume error %d!\n", retval);