summaryrefslogtreecommitdiff
path: root/src/ec/smsc
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2016-02-08 00:10:44 +0100
committerMartin Roth <martinroth@google.com>2016-02-09 19:58:14 +0100
commitb27c24f69b89aca3203d56522663a546811cbfb8 (patch)
tree28b00d7f9dc5e533b21efacdaa9a43ebabb30573 /src/ec/smsc
parentbb7dbcdf30ee9697dda0ae45025b4ea183b7a748 (diff)
downloadcoreboot-b27c24f69b89aca3203d56522663a546811cbfb8.tar.xz
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/ec/smsc')
-rw-r--r--src/ec/smsc/mec1308/acpi/ec.asl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ec/smsc/mec1308/acpi/ec.asl b/src/ec/smsc/mec1308/acpi/ec.asl
index bd840f5a81..a8de9fa1f8 100644
--- a/src/ec/smsc/mec1308/acpi/ec.asl
+++ b/src/ec/smsc/mec1308/acpi/ec.asl
@@ -81,6 +81,8 @@ Device (EC0)
// Force a read of CPU temperature
Store (CPUT, Local0)
+ /* So that we don't get a warning that Local0 is unused. */
+ Increment (Local0)
}
PowerResource (FNP0, 0, 0)