Commit 5dbe8ee7 authored by Martin Roth's avatar Martin Roth
Browse files

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: default avatarMartin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/26125

Tested-by: default avatarbuild bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: default avatarPatrick Rudolph <siro@das-labor.org>
Reviewed-by: default avatarPaul Menzel <paulepanter@users.sourceforge.net>
parent 782c910e
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
} }
/* Device Set State */ /* Device Set State */
Method(XDSS, 2) Method(XDSS, 1)
{ {
/* If Parameter Arg0 is (1 << 31) | (1 << 30), the /* If Parameter Arg0 is (1 << 31) | (1 << 30), the
* display switch was completed * display switch was completed
......
...@@ -547,7 +547,7 @@ Scope(\_SB) ...@@ -547,7 +547,7 @@ Scope(\_SB)
} }
/* Set DKD */ /* Set DKD */
Method(SDKD, 1, Serialized) Method(SDKD, 0, Serialized)
{ {
TRAP(0xda) TRAP(0xda)
Return (0) Return (0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment