diff options
author | Len Brown <len.brown@intel.com> | 2011-01-12 10:55:46 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 10:55:46 +0100 |
commit | fb4af417cce9ff87abf33a6bb9a0cf613e285364 (patch) | |
tree | 328ce710c6e6acf7b58145da939fb3cc91d188c9 /drivers/acpi/scan.c | |
parent | Merge branch 'power-resource' into release (diff) | |
parent | ACPI / PM: Blacklist Averatec machine known to require acpi_sleep=nonvs (diff) | |
download | linux-fb4af417cce9ff87abf33a6bb9a0cf613e285364.tar.xz linux-fb4af417cce9ff87abf33a6bb9a0cf613e285364.zip |
Merge branch 'wakeup-etc-rafael' into release
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r-- | drivers/acpi/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 148e7492d736..64d4da0d6d52 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -803,7 +803,7 @@ static void acpi_bus_set_run_wake_flags(struct acpi_device *device) /* Power button, Lid switch always enable wakeup */ if (!acpi_match_device_ids(device, button_device_ids)) { device->wakeup.flags.run_wake = 1; - device->wakeup.flags.always_enabled = 1; + device_set_wakeup_capable(&device->dev, true); return; } |