diff options
| author | David S. Miller <davem@davemloft.net> | 2009-01-08 14:05:59 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2009-01-08 14:05:59 -0500 |
| commit | 7f46b1343f723f98634a5dcee47856b2000079ed (patch) | |
| tree | ed22b6298c8dd2f687890a0d79abcd1d273b5f81 /drivers/usb/host/ohci-pci.c | |
| parent | b8c31da64165b8566fc6e1c9c826f76e7b98ff02 (diff) | |
| parent | 9e42d0cf5020aaf217433cad1a224745241d212a (diff) | |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/usb/host/ohci-pci.c')
| -rw-r--r-- | drivers/usb/host/ohci-pci.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-pci.c b/drivers/usb/host/ohci-pci.c index a9c2ae36c7ad..8b28ae7865ba 100644 --- a/drivers/usb/host/ohci-pci.c +++ b/drivers/usb/host/ohci-pci.c | |||
| @@ -355,9 +355,9 @@ static int __devinit ohci_pci_start (struct usb_hcd *hcd) | |||
| 355 | 355 | ||
| 356 | /* RWC may not be set for add-in PCI cards, since boot | 356 | /* RWC may not be set for add-in PCI cards, since boot |
| 357 | * firmware probably ignored them. This transfers PCI | 357 | * firmware probably ignored them. This transfers PCI |
| 358 | * PM wakeup capabilities (once the PCI layer is fixed). | 358 | * PM wakeup capabilities. |
| 359 | */ | 359 | */ |
| 360 | if (device_may_wakeup(&pdev->dev)) | 360 | if (device_can_wakeup(&pdev->dev)) |
| 361 | ohci->hc_control |= OHCI_CTRL_RWC; | 361 | ohci->hc_control |= OHCI_CTRL_RWC; |
| 362 | } | 362 | } |
| 363 | #endif /* CONFIG_PM */ | 363 | #endif /* CONFIG_PM */ |
| @@ -487,6 +487,8 @@ static struct pci_driver ohci_pci_driver = { | |||
| 487 | 487 | ||
| 488 | #ifdef CONFIG_PM | 488 | #ifdef CONFIG_PM |
| 489 | .suspend = usb_hcd_pci_suspend, | 489 | .suspend = usb_hcd_pci_suspend, |
| 490 | .suspend_late = usb_hcd_pci_suspend_late, | ||
| 491 | .resume_early = usb_hcd_pci_resume_early, | ||
| 490 | .resume = usb_hcd_pci_resume, | 492 | .resume = usb_hcd_pci_resume, |
| 491 | #endif | 493 | #endif |
| 492 | 494 | ||
