summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/acutils.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-11-12 09:49:50 +0800
committerLen Brown <len.brown@intel.com>2009-11-24 21:31:10 -0500
commit502f7efa6ae7c3f6d93dac417af521af1f56bcc7 (patch)
tree551750609fe3d9b3f5717d061cb98a02a5fc0e3f /drivers/acpi/acpica/acutils.h
parentad5babeed8d3082406c5b67ae558b95a479ddb6f (diff)
downloadlwn-502f7efa6ae7c3f6d93dac417af521af1f56bcc7.tar.gz
lwn-502f7efa6ae7c3f6d93dac417af521af1f56bcc7.zip
ACPICA: New internal utility function to create Integer objects
acpi_ut_create_integer_object. This function (when deployed) should simplify some of the object creation code. ACPICA BZ 823. http://www.acpica.org/bugzilla/show_bug.cgi?id=823 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acutils.h')
-rw-r--r--drivers/acpi/acpica/acutils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acutils.h b/drivers/acpi/acpica/acutils.h
index f920d89b3b15..3a451a21a3f9 100644
--- a/drivers/acpi/acpica/acutils.h
+++ b/drivers/acpi/acpica/acutils.h
@@ -386,6 +386,8 @@ u8 acpi_ut_valid_internal_object(void *object);
union acpi_operand_object *acpi_ut_create_package_object(u32 count);
+union acpi_operand_object *acpi_ut_create_integer_object(u64 value);
+
union acpi_operand_object *acpi_ut_create_buffer_object(acpi_size buffer_size);
union acpi_operand_object *acpi_ut_create_string_object(acpi_size string_size);