diff options
| author | 2012-06-03 20:15:57 -0700 | |
|---|---|---|
| committer | 2012-06-03 20:15:57 -0700 | |
| commit | 4d578573b8328ce5aa6500b955444b89afa3c72c (patch) | |
| tree | 13b839d10dfc7e886515e2ef9e91fe7881700545 /drivers/acpi/scan.c | |
| parent | Revert "mm: compaction: handle incorrect MIGRATE_UNMOVABLE type pageblocks" (diff) | |
| parent | ACPI / PM: Make acpi_pm_device_sleep_state() follow the specification (diff) | |
| download | wireguard-linux-4d578573b8328ce5aa6500b955444b89afa3c72c.tar.xz wireguard-linux-4d578573b8328ce5aa6500b955444b89afa3c72c.zip | |
Merge branch 'pm-acpi' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull some left-over PM patches from Rafael J. Wysocki.
* 'pm-acpi' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
ACPI / PM: Make acpi_pm_device_sleep_state() follow the specification
ACPI / PM: Make __acpi_bus_get_power() cover D3cold correctly
ACPI / PM: Fix error messages in drivers/acpi/bus.c
rtc-cmos / PM: report wakeup event on ACPI RTC alarm
ACPI / PM: Generate wakeup events on fixed power button
Diffstat (limited to 'drivers/acpi/scan.c')
| -rw-r--r-- | drivers/acpi/scan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 85cbfdccc97c..c8a1f3b68110 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -1567,6 +1567,7 @@ static int acpi_bus_scan_fixed(void) ACPI_BUS_TYPE_POWER_BUTTON, ACPI_STA_DEFAULT, &ops); + device_init_wakeup(&device->dev, true); } if ((acpi_gbl_FADT.flags & ACPI_FADT_SLEEP_BUTTON) == 0) { |
