ACPICA: Add support for _LSW as a predefined method
authorErik Schmauss <erik.schmauss@intel.com>
Mon, 5 Jun 2017 08:38:09 +0000 (16:38 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Jun 2017 12:58:37 +0000 (14:58 +0200)
ACPICA commit 8e425bdd9fa27264c217a3a449eb3c2da3769542

Link: https://github.com/acpica/acpica/commit/8e425bdd
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
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 1b7ad31d8355084dfced531593330abaeb3a8139..c777f0223f4eaa0d46f43078be35bc787fc3ee36 100644 (file)
@@ -635,6 +635,10 @@ const union acpi_predefined_info acpi_gbl_predefined_methods[] = {
        PACKAGE_INFO(ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 1,
                     ACPI_RTYPE_BUFFER, 1, 0),
 
+       {{"_LSW",
+         METHOD_3ARGS(ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER, ACPI_TYPE_BUFFER),
+         METHOD_RETURNS(ACPI_RTYPE_INTEGER)}},
+
        {{"_MAT", METHOD_0ARGS,
          METHOD_RETURNS(ACPI_RTYPE_BUFFER)}},