From b27c24f69b89aca3203d56522663a546811cbfb8 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 8 Feb 2016 00:10:44 +0100 Subject: Workaround for unused variable warning. Change-Id: I0a0c925509027f98f724d0a4347146f21ac06c02 Signed-off-by: Vladimir Serbinenko Reviewed-on: https://review.coreboot.org/13624 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/lenovo/x200/acpi/gpe.asl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainboard/lenovo/x200') diff --git a/src/mainboard/lenovo/x200/acpi/gpe.asl b/src/mainboard/lenovo/x200/acpi/gpe.asl index b6ac30de47..5c900ca3a9 100644 --- a/src/mainboard/lenovo/x200/acpi/gpe.asl +++ b/src/mainboard/lenovo/x200/acpi/gpe.asl @@ -20,5 +20,7 @@ Scope (\_GPE) { /* Read EC register to clear wake status */ Store(\_SB.PCI0.LPCB.EC.WAKE, Local0) + /* So that we don't get a warning that Local0 is unused. */ + Increment (Local0) } } -- cgit v1.2.3