Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/60561 )
Change subject: ec/starlabs/merlin/acpi: Replace Index() with ASL 2.0 syntax ......................................................................
ec/starlabs/merlin/acpi: Replace Index() with ASL 2.0 syntax
Replace `Index (FOO, 0)` with `FOO[0]`.
Change-Id: I88cb974ed808b602a9398c9c3e363cb145420528 Signed-off-by: Felix Singer felixsinger@posteo.net Reviewed-on: https://review.coreboot.org/c/coreboot/+/60561 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: HAOUAS Elyes ehaouas@noos.fr --- M src/ec/starlabs/merlin/acpi/hid.asl 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified HAOUAS Elyes: Looks good to me, approved
diff --git a/src/ec/starlabs/merlin/acpi/hid.asl b/src/ec/starlabs/merlin/acpi/hid.asl index 1d2b226..5449807 100644 --- a/src/ec/starlabs/merlin/acpi/hid.asl +++ b/src/ec/starlabs/merlin/acpi/hid.asl @@ -303,7 +303,7 @@ // Case (0x03) { - HDSM (DeRefOf(Index(Arg3, 0x00))) + HDSM (DeRefOf(Arg3[0])) } // // Function 4, HDEM. HID Driver Event Method. @@ -332,7 +332,7 @@ // Case (0x06) { - BTNE (DeRefOf(Index(Arg3, 0x00))) + BTNE (DeRefOf(Arg3[0])) } // // Function 7 HEBC. Button implemented state.