aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>2009-07-29 05:24:41 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-07-29 08:31:13 -0400
commit3725f28b478035a0410268f06a383f24ede7971c (patch)
tree953b7cf841f592f1d8fc7b655dec71466fb68bb4 /drivers/usb
parenta3beddd0aa267986de7b13b6d9cd0e1869fcf1fc (diff)
usb: fix hibernate in r8a66597-hcd dev_pm_ops conversion.
This fixes up the dev_pm_ops conversion and wires up the callbacks needed for hibernation. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/r8a66597-hcd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c
index 82dce3e0d4d7..749b53742828 100644
--- a/drivers/usb/host/r8a66597-hcd.c
+++ b/drivers/usb/host/r8a66597-hcd.c
@@ -2357,6 +2357,8 @@ static int r8a66597_resume(struct device *dev)
2357static struct dev_pm_ops r8a66597_dev_pm_ops = { 2357static struct dev_pm_ops r8a66597_dev_pm_ops = {
2358 .suspend = r8a66597_suspend, 2358 .suspend = r8a66597_suspend,
2359 .resume = r8a66597_resume, 2359 .resume = r8a66597_resume,
2360 .poweroff = r8a66597_suspend,
2361 .restore = r8a66597_resume,
2360}; 2362};
2361 2363
2362#define R8A66597_DEV_PM_OPS (&r8a66597_dev_pm_ops) 2364#define R8A66597_DEV_PM_OPS (&r8a66597_dev_pm_ops)