diff options
Diffstat (limited to 'src/ec')
-rw-r--r-- | src/ec/google/wilco/acpi/dptf.asl | 4 | ||||
-rw-r--r-- | src/ec/google/wilco/acpi/ec.asl | 2 | ||||
-rw-r--r-- | src/ec/google/wilco/acpi/event.asl | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/ec/google/wilco/acpi/dptf.asl b/src/ec/google/wilco/acpi/dptf.asl index f5545d0c79..0f1663f714 100644 --- a/src/ec/google/wilco/acpi/dptf.asl +++ b/src/ec/google/wilco/acpi/dptf.asl @@ -18,10 +18,6 @@ * Dynamic Platform Thermal Framework support */ -External (\_SB.DPTF.CTOK, MethodObj) -External (\_SB.DPTF.KTOC, MethodObj) -External (\_SB.DPTF.TEVT, MethodObj) - /* Mutex for EC PAT interface */ Mutex (PATM, 1) diff --git a/src/ec/google/wilco/acpi/ec.asl b/src/ec/google/wilco/acpi/ec.asl index ff8fccc596..f9b16b5bb1 100644 --- a/src/ec/google/wilco/acpi/ec.asl +++ b/src/ec/google/wilco/acpi/ec.asl @@ -147,5 +147,7 @@ Device (EC0) #include "event.asl" #include "lid.asl" #include "platform.asl" +#ifdef EC_ENABLE_DPTF #include "dptf.asl" +#endif } diff --git a/src/ec/google/wilco/acpi/event.asl b/src/ec/google/wilco/acpi/event.asl index 21721f2750..4a3394feec 100644 --- a/src/ec/google/wilco/acpi/event.asl +++ b/src/ec/google/wilco/acpi/event.asl @@ -88,10 +88,12 @@ Method (ECQ3, 1, Serialized) { Printf ("EVT3: %o", Arg0) +#ifdef EC_ENABLE_DPTF /* Theraml Events */ If (EBIT (E3TH, Arg0)) { ^PATX () } +#endif } /* Handle events in PmEv4 */ |