]> Git Repo - linux.git/blobdiff - include/acpi/actypes.h
ACPICA: Add table-driven dispatch for sleep/wake functions
[linux.git] / include / acpi / actypes.h
index 48c4d5f8a4929d9d4edc385d6757cdd64db900b6..349615833a4a0c996dc75e5e35dc5cb3023d3df3 100644 (file)
@@ -788,6 +788,15 @@ typedef u8 acpi_adr_space_type;
 #define ACPI_ENABLE_EVENT                       1
 #define ACPI_DISABLE_EVENT                      0
 
+/* Sleep function dispatch */
+
+typedef acpi_status(*ACPI_SLEEP_FUNCTION) (u8 sleep_state);
+
+struct acpi_sleep_functions {
+       ACPI_SLEEP_FUNCTION legacy_function;
+       ACPI_SLEEP_FUNCTION extended_function;
+};
+
 /*
  * External ACPI object definition
  */
This page took 0.030496 seconds and 4 git commands to generate.