diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-12-31 10:49:19 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-01-01 13:59:09 +0000 |
commit | 621744b85fd5c53fa2bd4fd572a852d7c603fcae (patch) | |
tree | 2bac1385136fb6050a99566fdaabd9d58221ddef /src | |
parent | 0d92ec872f8c6ad87e691299e270f45a7a6278e3 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/ec/starlabs/merlin/acpi/hid.asl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/starlabs/merlin/acpi/hid.asl b/src/ec/starlabs/merlin/acpi/hid.asl index 1d2b2260aa..5449807e0f 100644 --- a/src/ec/starlabs/merlin/acpi/hid.asl +++ b/src/ec/starlabs/merlin/acpi/hid.asl @@ -303,7 +303,7 @@ Device (HIDD) // HID Device // Case (0x03) { - HDSM (DeRefOf(Index(Arg3, 0x00))) + HDSM (DeRefOf(Arg3[0])) } // // Function 4, HDEM. HID Driver Event Method. @@ -332,7 +332,7 @@ Device (HIDD) // HID Device // Case (0x06) { - BTNE (DeRefOf(Index(Arg3, 0x00))) + BTNE (DeRefOf(Arg3[0])) } // // Function 7 HEBC. Button implemented state. |