Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312762
b: refs/heads/master
c: e25d5c1
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki committed Jul 3, 2012
1 parent ab0d5a7 commit c771c39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 199ac0529eac0341b232b450e43fad71d1513e94
refs/heads/master: e25d5c11eeeec610af2e0ff51e60d7cdadefe0f2
6 changes: 4 additions & 2 deletions trunk/drivers/platform/x86/hdaps.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,17 +305,19 @@ static int hdaps_probe(struct platform_device *dev)
return 0;
}

static int hdaps_resume(struct platform_device *dev)
static int hdaps_resume(struct device *dev)
{
return hdaps_device_init();
}

static SIMPLE_DEV_PM_OPS(hdaps_pm, NULL, hdaps_resume);

static struct platform_driver hdaps_driver = {
.probe = hdaps_probe,
.resume = hdaps_resume,
.driver = {
.name = "hdaps",
.owner = THIS_MODULE,
.pm = &hdaps_pm,
},
};

Expand Down

0 comments on commit c771c39

Please sign in to comment.