aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t400/acpi/gpe.asl
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-08 09:52:56 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-24 21:18:01 +0000
commit433bc3eed36706e6335b11b4eb44d2f96067404a (patch)
tree7aa27f1b22fc765935c8971b21870b7bddaa7ce8 /src/mainboard/lenovo/t400/acpi/gpe.asl
parentc23ec645d3fff1be92fde79f122cc5b7bfcfa94e (diff)
mb/lenovo/t400: Convert to ASL 2.0 syntax
Change-Id: I4e6d5048ca9e949a70f3619f05b74870c1f1fe30 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46192 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/lenovo/t400/acpi/gpe.asl')
-rw-r--r--src/mainboard/lenovo/t400/acpi/gpe.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/t400/acpi/gpe.asl b/src/mainboard/lenovo/t400/acpi/gpe.asl
index 62e7b37bb4..9984636860 100644
--- a/src/mainboard/lenovo/t400/acpi/gpe.asl
+++ b/src/mainboard/lenovo/t400/acpi/gpe.asl
@@ -5,8 +5,8 @@ Scope (\_GPE)
Method(_L18, 0, NotSerialized)
{
/* Read EC register to clear wake status */
- Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
+ Local0 = \_SB.PCI0.LPCB.EC.WAKE
/* So that we don't get a warning that Local0 is unused. */
- Increment (Local0)
+ Local0++
}
}