diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-08 23:22:15 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-10 00:36:08 +0200 |
commit | fad16dd9c962229c5965ec6f5cd5f48180f94fd4 (patch) | |
tree | de36e38b0d2656e8f846d972921381c7e6e1074b /drivers/acpi/sleep.c | |
parent | d6d211db37e75de2ddc3a4f979038c40df7cc79c (diff) | |
download | linux-fad16dd9c962229c5965ec6f5cd5f48180f94fd4.tar.gz linux-fad16dd9c962229c5965ec6f5cd5f48180f94fd4.tar.bz2 linux-fad16dd9c962229c5965ec6f5cd5f48180f94fd4.zip |
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>
Diffstat (limited to 'drivers/acpi/sleep.c')
-rw-r--r-- | drivers/acpi/sleep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index c40fb2e81bbc..2281ca31c1bc 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; |