Commit 3725f28b authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Paul Mundt

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: default avatarYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent a3beddd0
...@@ -2357,6 +2357,8 @@ static int r8a66597_resume(struct device *dev) ...@@ -2357,6 +2357,8 @@ static int r8a66597_resume(struct device *dev)
static struct dev_pm_ops r8a66597_dev_pm_ops = { static struct dev_pm_ops r8a66597_dev_pm_ops = {
.suspend = r8a66597_suspend, .suspend = r8a66597_suspend,
.resume = r8a66597_resume, .resume = r8a66597_resume,
.poweroff = r8a66597_suspend,
.restore = r8a66597_resume,
}; };
#define R8A66597_DEV_PM_OPS (&r8a66597_dev_pm_ops) #define R8A66597_DEV_PM_OPS (&r8a66597_dev_pm_ops)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment