Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312754
b: refs/heads/master
c: 1846884
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki committed Jul 12, 2012
1 parent e9a7767 commit cfe4257
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: d91ee328c1e8b3992ffbf84a1a984c2a7f4ebff7
refs/heads/master: 18468843fac331dfbb700901c8012d17373adfec
6 changes: 4 additions & 2 deletions trunk/arch/x86/platform/olpc/olpc-xo15-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ static int xo15_sci_remove(struct acpi_device *device, int type)
return 0;
}

static int xo15_sci_resume(struct acpi_device *device)
static int xo15_sci_resume(struct device *dev)
{
/* Enable all EC events */
olpc_ec_mask_write(EC_SCI_SRC_ALL);
Expand All @@ -215,6 +215,8 @@ static int xo15_sci_resume(struct acpi_device *device)
return 0;
}

static SIMPLE_DEV_PM_OPS(xo15_sci_pm, NULL, xo15_sci_resume);

static const struct acpi_device_id xo15_sci_device_ids[] = {
{"XO15EC", 0},
{"", 0},
Expand All @@ -227,8 +229,8 @@ static struct acpi_driver xo15_sci_drv = {
.ops = {
.add = xo15_sci_add,
.remove = xo15_sci_remove,
.resume = xo15_sci_resume,
},
.drv.pm = &xo15_sci_pm,
};

static int __init xo15_sci_init(void)
Expand Down

0 comments on commit cfe4257

Please sign in to comment.