Skip to content

Commit

Permalink
usb: fix hibernate in r8a66597-hcd dev_pm_ops conversion.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yoshihiro Shimoda authored and Paul Mundt committed Jul 29, 2009
1 parent a3beddd commit 3725f28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/host/r8a66597-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3725f28

Please sign in to comment.