aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acutils.h
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2014-07-07 22:06:12 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-07-08 08:22:25 -0400
commite740304c7cf389b5d498bd86865fc82518d9ea1a (patch)
treed47192e609837120d8b1cb275b51f2a9a56ac7a5 /drivers/acpi/acpica/acutils.h
parentae8ffc7dbb7e2bb9cbf3d84ef4116c5f7901539a (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.h8
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
400acpi_status
401acpi_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 */
399acpi_status 407acpi_status