From 9f8ce8f2eb1a4d87ebec679f505f82d3a51acb99 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 31 Dec 2021 14:16:58 +0100 Subject: [PATCH] ec/quanta/ene_kb3940q/acpi: Replace Decrement() with ASL 2.0 syntax Replace `Decrement (a)` with `a--`. Change-Id: I2105c22d15d4f078270911a7fa7290b3a9b6b841 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60591 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- src/ec/quanta/ene_kb3940q/acpi/ec.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ec/quanta/ene_kb3940q/acpi/ec.asl b/src/ec/quanta/ene_kb3940q/acpi/ec.asl index 12f0809d99..1f1cf9729a 100644 --- a/src/ec/quanta/ene_kb3940q/acpi/ec.asl +++ b/src/ec/quanta/ene_kb3940q/acpi/ec.asl @@ -194,7 +194,7 @@ Device (EC0) Store(\_SB.CP00._PPC, Local0) If(Local0) { - Decrement(Local0) + Local0-- \PPCN () }