ACPI / PM: Export acpi_target_system_state() to modules
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 8 May 2014 21:22:15 +0000 (23:22 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 9 May 2014 22:36:08 +0000 (00:36 +0200)
commitfad16dd9c962229c5965ec6f5cd5f48180f94fd4
treede36e38b0d2656e8f846d972921381c7e6e1074b
parentd6d211db37e75de2ddc3a4f979038c40df7cc79c
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>
drivers/acpi/sleep.c