diff options
author | Bob Moore <robert.moore@intel.com> | 2008-11-14 08:44:39 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-29 22:38:38 -0500 |
commit | a647b5c34047560d7efe7e53e756c6692ce67dc7 (patch) | |
tree | f5fc81828932810ddaf19cd1f43732af48215433 /include/acpi | |
parent | d037c5fd7367548191eab2b376a1d08c4ffaf7ff (diff) | |
download | linux-stable-a647b5c34047560d7efe7e53e756c6692ce67dc7.tar.gz linux-stable-a647b5c34047560d7efe7e53e756c6692ce67dc7.tar.bz2 linux-stable-a647b5c34047560d7efe7e53e756c6692ce67dc7.zip |
ACPICA: Add Buffer->String conversion for predefined methods
For predefined methods (such as _BIF), add automatic conversion for
objects that are required to be a String, but a Buffer was found
instead. This can happen when reading string battery data from
an operation region, because it used to be difficult to convert
the data from buffer to string from within the ASL. Linux BZ 11822.
http://bugzilla.kernel.org/show_bug.cgi?id=11822
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 'include/acpi')
-rw-r--r-- | include/acpi/acnamesp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/acnamesp.h b/include/acpi/acnamesp.h index db4e6f677855..db1e29052077 100644 --- a/include/acpi/acnamesp.h +++ b/include/acpi/acnamesp.h @@ -182,7 +182,7 @@ acpi_status acpi_ns_evaluate(struct acpi_evaluate_info *info); */ acpi_status acpi_ns_check_predefined_names(struct acpi_namespace_node *node, - union acpi_operand_object *return_object); + union acpi_operand_object **return_object); const union acpi_predefined_info *acpi_ns_check_for_predefined_name(struct acpi_namespace_node |