Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364764
b: refs/heads/master
c: 4895a2e
h: refs/heads/master
v: v3
  • Loading branch information
Jingoo Han authored and Felipe Balbi committed Mar 22, 2013
1 parent 0e6ad64 commit e72dd03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 54485116cd77b361864c17c40c3280b97b6fbecc
refs/heads/master: 4895a2ee5d1bc88d9876c4082062c1cb3df5cdd4
8 changes: 3 additions & 5 deletions trunk/drivers/usb/gadget/mv_u3d_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2002,7 +2002,7 @@ static int mv_u3d_probe(struct platform_device *dev)
return retval;
}

#ifdef CONFIG_PM
#ifdef CONFIG_PM_SLEEP
static int mv_u3d_suspend(struct device *dev)
{
struct mv_u3d *u3d = dev_get_drvdata(dev);
Expand Down Expand Up @@ -2045,10 +2045,10 @@ static int mv_u3d_resume(struct device *dev)

return 0;
}

SIMPLE_DEV_PM_OPS(mv_u3d_pm_ops, mv_u3d_suspend, mv_u3d_resume);
#endif

static SIMPLE_DEV_PM_OPS(mv_u3d_pm_ops, mv_u3d_suspend, mv_u3d_resume);

static void mv_u3d_shutdown(struct platform_device *dev)
{
struct mv_u3d *u3d = dev_get_drvdata(&dev->dev);
Expand All @@ -2066,9 +2066,7 @@ static struct platform_driver mv_u3d_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "mv-u3d",
#ifdef CONFIG_PM
.pm = &mv_u3d_pm_ops,
#endif
},
};

Expand Down

0 comments on commit e72dd03

Please sign in to comment.