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:
		| @@ -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 | ||||
|   | ||||
| @@ -547,7 +547,7 @@ Scope(\_SB) | ||||
| 		} | ||||
|  | ||||
| 		/* Set DKD */ | ||||
| 		Method(SDKD, 1, Serialized) | ||||
| 		Method(SDKD, 0, Serialized) | ||||
| 		{ | ||||
| 			TRAP(0xda) | ||||
| 			Return (0) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user