diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2016-02-08 00:10:44 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-02-09 19:58:14 +0100 |
commit | b27c24f69b89aca3203d56522663a546811cbfb8 (patch) | |
tree | 28b00d7f9dc5e533b21efacdaa9a43ebabb30573 /src/mainboard/lenovo/t60/acpi | |
parent | bb7dbcdf30ee9697dda0ae45025b4ea183b7a748 (diff) |
Workaround for unused variable warning.
Change-Id: I0a0c925509027f98f724d0a4347146f21ac06c02
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: https://review.coreboot.org/13624
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/lenovo/t60/acpi')
-rw-r--r-- | src/mainboard/lenovo/t60/acpi/gpe.asl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t60/acpi/gpe.asl b/src/mainboard/lenovo/t60/acpi/gpe.asl index 88210ac919..3cc25b2d85 100644 --- a/src/mainboard/lenovo/t60/acpi/gpe.asl +++ b/src/mainboard/lenovo/t60/acpi/gpe.asl @@ -21,5 +21,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) } } |