aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x201/acpi/gpe.asl
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-08 09:57:40 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-24 21:39:18 +0000
commit23af35f04060560bde3e151699c582ad37e9f1af (patch)
treed88b387f6e6f5fa51372f008635b0a15a59dc05b /src/mainboard/lenovo/x201/acpi/gpe.asl
parent965f98c8dc92e2af4a77f39a473a5116f079b698 (diff)
mb/lenovo/x201: Convert to ASL 2.0 syntax
Generated 'build/dsdt.dsl' files are identical. Change-Id: I3b553e1b68ee8f236fcab311a076001b94a47975 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46204 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/x201/acpi/gpe.asl')
-rw-r--r--src/mainboard/lenovo/x201/acpi/gpe.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/x201/acpi/gpe.asl b/src/mainboard/lenovo/x201/acpi/gpe.asl
index 62e7b37bb4..9984636860 100644
--- a/src/mainboard/lenovo/x201/acpi/gpe.asl
+++ b/src/mainboard/lenovo/x201/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++
}
}