ACPI: Set the correct number of arguments in ACPI methods

These methods had unused arguments and could be corrected by
setting the correct number in the method initializer.

Change-Id: I86606cfa1c391e2221cee31994e83667fa9ead61
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/26125
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Martin Roth 2018-05-06 21:08:37 -05:00
parent 782c910e86
commit 5dbe8ee725
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@
}
/* Device Set State */
Method(XDSS, 2)
Method(XDSS, 1)
{
/* If Parameter Arg0 is (1 << 31) | (1 << 30), the
* display switch was completed

View File

@ -547,7 +547,7 @@ Scope(\_SB)
}
/* Set DKD */
Method(SDKD, 1, Serialized)
Method(SDKD, 0, Serialized)
{
TRAP(0xda)
Return (0)