ACPICA: Update for _PRP predefined name.
authorBob Moore <robert.moore@intel.com>
Wed, 26 Feb 2014 02:33:08 +0000 (10:33 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 18 Mar 2014 00:52:17 +0000 (01:52 +0100)
Allow objects of type "reference" in the second subpackage element.

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>
drivers/acpi/acpica/acpredef.h

index c99bc04..08c359f 100644 (file)
@@ -704,7 +704,7 @@ const union acpi_predefined_info acpi_gbl_predefined_methods[] = {
          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),
+                    ACPI_RTYPE_PACKAGE | ACPI_RTYPE_REFERENCE, 1, 0),
 
        {{"_PRS", METHOD_0ARGS,
          METHOD_RETURNS(ACPI_RTYPE_BUFFER)}},