diff options
Diffstat (limited to 'drivers/usb/host/ohci-omap.c')
-rw-r--r-- | drivers/usb/host/ohci-omap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c index 90285f180f87..8aab5907afe9 100644 --- a/drivers/usb/host/ohci-omap.c +++ b/drivers/usb/host/ohci-omap.c | |||
@@ -458,9 +458,11 @@ static int ohci_hcd_omap_drv_remove(struct device *dev) | |||
458 | 458 | ||
459 | /* states match PCI usage, always suspending the root hub except that | 459 | /* states match PCI usage, always suspending the root hub except that |
460 | * 4 ~= D3cold (ACPI D3) with clock off (resume sees reset). | 460 | * 4 ~= D3cold (ACPI D3) with clock off (resume sees reset). |
461 | * | ||
462 | * FIXME: above comment is not right, and code is wrong, too :-(. | ||
461 | */ | 463 | */ |
462 | 464 | ||
463 | static int ohci_omap_suspend(struct device *dev, u32 state, u32 level) | 465 | static int ohci_omap_suspend(struct device *dev, pm_message_t state, u32 level) |
464 | { | 466 | { |
465 | struct ohci_hcd *ohci = hcd_to_ohci(dev_get_drvdata(dev)); | 467 | struct ohci_hcd *ohci = hcd_to_ohci(dev_get_drvdata(dev)); |
466 | int status = -EINVAL; | 468 | int status = -EINVAL; |