summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/acpi/dptf
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/acpi/dptf')
-rw-r--r--src/soc/intel/common/acpi/dptf/thermal.asl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/common/acpi/dptf/thermal.asl b/src/soc/intel/common/acpi/dptf/thermal.asl
index d41f62354b..7058b27f38 100644
--- a/src/soc/intel/common/acpi/dptf/thermal.asl
+++ b/src/soc/intel/common/acpi/dptf/thermal.asl
@@ -16,6 +16,8 @@
/* Thermal Threshold Event Handler */
#define HAVE_THERM_EVENT_HANDLER
+
+#if CONFIG(EC_SUPPORTS_DPTF_TEVT)
Method (TEVT, 1, NotSerialized)
{
Store (ToInteger (Arg0), Local0)
@@ -41,6 +43,7 @@ Method (TEVT, 1, NotSerialized)
}
#endif
}
+#endif
/* Thermal device initialization - Disable Aux Trip Points */
Method (TINI)