浏览代码

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>
Rafael J. Wysocki 11 年之前
父节点
当前提交
fad16dd9c9
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/acpi/sleep.c

+ 1 - 0
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;