From 5cbf2be43acee0f2e6e1baffbd2fc2eee0d316ee Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 11 Dec 2022 00:24:07 +0100 Subject: [PATCH] ec/clevo/it5570e/acpi: Replace Index(a, b) with ASL 2.0 syntax Replace `Index (FOO, 1337)` with `FOO[1337]`. Change-Id: If035eac6b6eb06f79eb6596364bc41069ba42f70 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/70532 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/ec/clevo/it5570e/acpi/hid.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ec/clevo/it5570e/acpi/hid.asl b/src/ec/clevo/it5570e/acpi/hid.asl index 10d23f5330..945e28580d 100644 --- a/src/ec/clevo/it5570e/acpi/hid.asl +++ b/src/ec/clevo/it5570e/acpi/hid.asl @@ -48,7 +48,7 @@ Device (HIDD) Case (3) { /* Driver status */ - HRDY = DeRefOf (Index (Arg3, 0)) + HRDY = DeRefOf (Arg3[0]) } Case (4) {