summaryrefslogtreecommitdiff
path: root/include/acpi/acpi_bus.h
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2021-10-18 15:17:24 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-11-03 21:03:55 +0300
commitb340c7d6f619ad63d1896a6debceea1de3a78f29 (patch)
tree46d3bc3da58a46e1d5638f49fc08414a06ff6deb /include/acpi/acpi_bus.h
parentc0d6586afa3546a3d148cf4b9d9a407b4f79d0bb (diff)
downloadlinux-b340c7d6f619ad63d1896a6debceea1de3a78f29.tar.xz
ACPI: scan: Obtain device's desired enumeration power state
Store a device's desired enumeration power state in struct acpi_device_power during acpi_device object's initialisation. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/acpi_bus.h')
-rw-r--r--include/acpi/acpi_bus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 53b6e9f9de7b..480f9207a4c6 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -278,6 +278,7 @@ struct acpi_device_power {
int state; /* Current state */
struct acpi_device_power_flags flags;
struct acpi_device_power_state states[ACPI_D_STATE_COUNT]; /* Power states (D0-D3Cold) */
+ u8 state_for_enumeration; /* Deepest power state for enumeration */
};
struct acpi_dep_data {