Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312749
b: refs/heads/master
c: d26c844
h: refs/heads/master
i:
  312747: bd525c2
v: v3
  • Loading branch information
Rafael J. Wysocki committed Jul 1, 2012
1 parent b9f4e6b commit c28b0b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 81bc495401955bf7a62d04f8c794718476a2b093
refs/heads/master: d26c844bc1c5e9745deffccae8d205e9b77a0fb1
8 changes: 5 additions & 3 deletions trunk/drivers/platform/x86/fujitsu-tablet.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,21 +440,23 @@ static int __devexit acpi_fujitsu_remove(struct acpi_device *adev, int type)
return 0;
}

static int acpi_fujitsu_resume(struct acpi_device *adev)
static int acpi_fujitsu_resume(struct device *dev)
{
fujitsu_reset();
return 0;
}

static SIMPLE_DEV_PM_OPS(acpi_fujitsu_pm, NULL, acpi_fujitsu_resume);

static struct acpi_driver acpi_fujitsu_driver = {
.name = MODULENAME,
.class = "hotkey",
.ids = fujitsu_ids,
.ops = {
.add = acpi_fujitsu_add,
.remove = acpi_fujitsu_remove,
.resume = acpi_fujitsu_resume,
}
},
.drv.pm = &acpi_fujitsu_pm,
};

static int __init fujitsu_module_init(void)
Expand Down

0 comments on commit c28b0b5

Please sign in to comment.