diff options
author | Lv Zheng <lv.zheng@intel.com> | 2014-07-07 22:06:12 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-07-08 08:22:25 -0400 |
commit | e740304c7cf389b5d498bd86865fc82518d9ea1a (patch) | |
tree | d47192e609837120d8b1cb275b51f2a9a56ac7a5 /drivers/acpi/acpica/acutils.h | |
parent | ae8ffc7dbb7e2bb9cbf3d84ef4116c5f7901539a (diff) |
ACPICA: Utilities: Add support to read table from files
After the new table reading utility functions are well tested, acpidump can
also switch to use the generic acpi_ut_read_table_xxx() APIs. Currently
this patch is no-op as acpidump does not link to the new APIs.
This patch is only useful for ACPICA applications, most of which are not
shipped in the Linux kernel.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acutils.h')
-rw-r--r-- | drivers/acpi/acpica/acutils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acutils.h b/drivers/acpi/acpica/acutils.h index caeb81a8752f..8a4414869566 100644 --- a/drivers/acpi/acpica/acutils.h +++ b/drivers/acpi/acpica/acutils.h | |||
@@ -394,6 +394,14 @@ acpi_ut_execute_power_methods(struct acpi_namespace_node *device_node, | |||
394 | u8 method_count, u8 *out_values); | 394 | u8 method_count, u8 *out_values); |
395 | 395 | ||
396 | /* | 396 | /* |
397 | * utfileio - file operations | ||
398 | */ | ||
399 | #ifdef ACPI_APPLICATION | ||
400 | acpi_status | ||
401 | acpi_ut_read_table_from_file(char *filename, struct acpi_table_header **table); | ||
402 | #endif | ||
403 | |||
404 | /* | ||
397 | * utids - device ID support | 405 | * utids - device ID support |
398 | */ | 406 | */ |
399 | acpi_status | 407 | acpi_status |