diff options
author | Bob Moore <robert.moore@intel.com> | 2014-02-26 10:28:44 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-02-27 00:45:59 +0100 |
commit | 5e7f18334f9980943365c07502630b5e3223839c (patch) | |
tree | 6bc1a9611455b6830a5ab1079881fe2a96fa3341 /drivers/acpi/acpica/acpredef.h | |
parent | 4ac4c5fad8a320f75cb84543403fb8bae5ad2254 (diff) | |
download | linux-5e7f18334f9980943365c07502630b5e3223839c.tar.gz linux-5e7f18334f9980943365c07502630b5e3223839c.tar.bz2 linux-5e7f18334f9980943365c07502630b5e3223839c.zip |
ACPICA: Predefined names: Add support for the _PRP method.
This is not an official predefined name yet, but we add it to assist
with development.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acpredef.h')
-rw-r--r-- | drivers/acpi/acpica/acpredef.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acpredef.h b/drivers/acpi/acpica/acpredef.h index 01b9eaaa982d..393826bee42d 100644 --- a/drivers/acpi/acpica/acpredef.h +++ b/drivers/acpi/acpica/acpredef.h @@ -700,6 +700,12 @@ const union acpi_predefined_info acpi_gbl_predefined_methods[] = { METHOD_RETURNS(ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ PACKAGE_INFO(ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0), + {{"_PRP", METHOD_0ARGS, + METHOD_RETURNS(ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each: 1 Str, 1 Int/Str/Pkg */ + PACKAGE_INFO(ACPI_PTYPE2, ACPI_RTYPE_STRING, 1, + ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING | + ACPI_RTYPE_PACKAGE, 1, 0), + {{"_PRS", METHOD_0ARGS, METHOD_RETURNS(ACPI_RTYPE_BUFFER)}}, |