mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 12:43:55 +08:00
ACPI / PM: Export acpi_target_system_state() to modules
Export the acpi_target_system_state() function to modules so that modular drivers can use it to check what the target ACPI sleep state of the system is (that is needed for i915 mostly at this point). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
d6d211db37
commit
fad16dd9c9
@ -89,6 +89,7 @@ u32 acpi_target_system_state(void)
|
||||
{
|
||||
return acpi_target_sleep_state;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(acpi_target_system_state);
|
||||
|
||||
static bool pwr_btn_event_pending;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user