summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/compal/ene932/acpi/ec.asl2
-rw-r--r--src/ec/quanta/it8518/acpi/ec.asl3
-rw-r--r--src/ec/smsc/mec1308/acpi/ec.asl2
3 files changed, 7 insertions, 0 deletions
diff --git a/src/ec/compal/ene932/acpi/ec.asl b/src/ec/compal/ene932/acpi/ec.asl
index 696c1f6a42..93ddcbeb1e 100644
--- a/src/ec/compal/ene932/acpi/ec.asl
+++ b/src/ec/compal/ene932/acpi/ec.asl
@@ -270,6 +270,8 @@ Device (EC0)
// Force a read of CPU temperature
Store (CTML, Local0)
+ /* So that we don't get a warning that Local0 is unused. */
+ Increment (Local0)
}
diff --git a/src/ec/quanta/it8518/acpi/ec.asl b/src/ec/quanta/it8518/acpi/ec.asl
index 0045196b71..22c7352652 100644
--- a/src/ec/quanta/it8518/acpi/ec.asl
+++ b/src/ec/quanta/it8518/acpi/ec.asl
@@ -568,6 +568,9 @@ Device (EC0)
// Force a read of CPU temperature
// TODO Which temperature corresponds to the CPU?
Store (TMP0, Local0)
+ /* So that we don't get a warning that Local0 is unused. */
+ Increment (Local0)
+
}
/* Attention Codes
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)