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:
parent
782c910e86
commit
5dbe8ee725
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set DKD */
|
/* Set DKD */
|
||||||
Method(SDKD, 1, Serialized)
|
Method(SDKD, 0, Serialized)
|
||||||
{
|
{
|
||||||
TRAP(0xda)
|
TRAP(0xda)
|
||||||
Return (0)
|
Return (0)
|
||||||
|
|
Loading…
Reference in New Issue