summaryrefslogtreecommitdiff
path: root/src/soc/intel/braswell/acpi/dptf/thermal.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/braswell/acpi/dptf/thermal.asl')
-rw-r--r--src/soc/intel/braswell/acpi/dptf/thermal.asl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/soc/intel/braswell/acpi/dptf/thermal.asl b/src/soc/intel/braswell/acpi/dptf/thermal.asl
index 1fdbea01ca..7daa36c8d4 100644
--- a/src/soc/intel/braswell/acpi/dptf/thermal.asl
+++ b/src/soc/intel/braswell/acpi/dptf/thermal.asl
@@ -15,7 +15,9 @@
*/
/* Thermal Threshold Event Handler */
-#ifdef HAVE_THERM_EVENT_HANDLER
+#define HAVE_THERM_EVENT_HANDLER
+
+#if CONFIG(EC_SUPPORTS_DPTF_TEVT)
Method (TEVT, 1, NotSerialized)
{
Store (ToInteger (Arg0), Local0)