aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x201/acpi/gpe.asl
diff options
context:
space:
mode:
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++
}
}