summaryrefslogtreecommitdiff
path: root/src/acpi/acpigen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/acpi/acpigen.c')
-rw-r--r--src/acpi/acpigen.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/acpi/acpigen.c b/src/acpi/acpigen.c
index 5c8c1b98c1..9818dc296c 100644
--- a/src/acpi/acpigen.c
+++ b/src/acpi/acpigen.c
@@ -781,6 +781,13 @@ void acpigen_write_device(const char *name)
acpigen_emit_namestring(name);
}
+void acpigen_write_thermal_zone(const char *name)
+{
+ acpigen_emit_ext_op(THERMAL_ZONE_OP);
+ acpigen_write_len_f();
+ acpigen_emit_namestring(name);
+}
+
void acpigen_write_STA(uint8_t status)
{
/*