From: Rafael J. Wysocki Date: Thu, 8 May 2014 21:22:15 +0000 (+0200) Subject: ACPI / PM: Export acpi_target_system_state() to modules X-Git-Tag: v4.9.8~6253^2^2~2^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fad16dd9c962229c5965ec6f5cd5f48180f94fd4;p=platform%2Fkernel%2Flinux-rpi3.git 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 --- diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index c40fb2e..2281ca3 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_GPL(acpi_target_system_state); static bool pwr_btn_event_pending;