]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: fix hibernate in r8a66597-hcd dev_pm_ops conversion.
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Wed, 29 Jul 2009 09:24:41 +0000 (09:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 29 Jul 2009 12:31:13 +0000 (21:31 +0900)
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>
drivers/usb/host/r8a66597-hcd.c

index 82dce3e0d4d7e3578153fc03d1f595402077a3d2..749b53742828ad4a4a06767b797c9cc4a9bf4045 100644 (file)
@@ -2357,6 +2357,8 @@ static int r8a66597_resume(struct device *dev)
 static struct dev_pm_ops r8a66597_dev_pm_ops = {
        .suspend = r8a66597_suspend,
        .resume = r8a66597_resume,
+       .poweroff = r8a66597_suspend,
+       .restore = r8a66597_resume,
 };
 
 #define R8A66597_DEV_PM_OPS    (&r8a66597_dev_pm_ops)