[Intel-gfx] [PATCH 3/5] ACPI: export target system state for use by drivers

Jesse Barnes jbarnes at virtuousgeek.org
Thu Jun 12 17:35:46 CEST 2014


From: Kristen Carlson Accardi <kristen at linux.intel.com>

Needed in ->freeze routines to figure out the target system state and
take appropriate action.

v2: split out ACPI patch

Reviewed-by: Imre Deak <imre.deak at intel.com>
Signed-off-by: Kristen Carlson Accardi <kristen at linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
---
 drivers/acpi/sleep.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index c40fb2e..807f333 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -89,6 +89,7 @@ u32 acpi_target_system_state(void)
 {
 	return acpi_target_sleep_state;
 }
+EXPORT_SYMBOL(acpi_target_system_state);
 
 static bool pwr_btn_event_pending;
 
-- 
1.9.1




More information about the Intel-gfx mailing list