diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2008-07-07 03:34:11 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-07-07 16:26:14 -0700 |
commit | 0af4b8c4fb31193dc666f4893107a18fef82baab (patch) | |
tree | 1b7a3b95a24b603422b50312ace25d754786874a /include | |
parent | 77e766099efc29d8b01db4b8244ff64fa3d3d0ca (diff) | |
download | linux-stable-0af4b8c4fb31193dc666f4893107a18fef82baab.tar.gz linux-stable-0af4b8c4fb31193dc666f4893107a18fef82baab.tar.bz2 linux-stable-0af4b8c4fb31193dc666f4893107a18fef82baab.zip |
ACPI: Introduce new device wakeup flag 'prepared'
Introduce additional flag 'prepared' in struct acpi_device_wakeup_flags
and use it to prevent devices from being enable/disabled do wake up the
system multiple times in a row (this does not happen currently, but will
be possible after some of the following patches).
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/acpi/acpi_bus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 0c21ea3bb672..071daf8db600 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -259,6 +259,7 @@ struct acpi_device_perf { /* Wakeup Management */ struct acpi_device_wakeup_flags { u8 valid:1; /* Can successfully enable wakeup? */ + u8 prepared:1; /* Has the wake-up capability been enabled? */ u8 run_wake:1; /* Run-Wake GPE devices */ }; |