summaryrefslogtreecommitdiff
path: root/include/linux/thermal.h
diff options
context:
space:
mode:
authorBrian Bian <brian.bian@linux.intel.com>2017-08-09 11:45:40 -0700
committerZhang Rui <rui.zhang@intel.com>2017-08-11 10:51:22 +0800
commit38e44da591303d08b0d965a033e11ade284999d0 (patch)
treeacbe404ac3195ca0ebe892bd925299904b54df97 /include/linux/thermal.h
parent1820142f562444f6f1291872b09fa5b84577c10f (diff)
downloadlwn-38e44da591303d08b0d965a033e11ade284999d0.tar.gz
lwn-38e44da591303d08b0d965a033e11ade284999d0.zip
thermal: int3400_thermal: process "thermal table changed" event
Some BIOS implement ACPI notification code 0x83 to indicate active relationship table(ART) and/or thermal relationship table(TRT) changes to INT3400 device. This event needs to be propagated to user space so that it can be handled by the user space thermal daemon. Signed-off-by: Brian Bian <brian.bian@linux.intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'include/linux/thermal.h')
-rw-r--r--include/linux/thermal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h
index dab11f97e1c6..fd5b959c753c 100644
--- a/include/linux/thermal.h
+++ b/include/linux/thermal.h
@@ -102,6 +102,7 @@ enum thermal_notify_event {
THERMAL_DEVICE_DOWN, /* Thermal device is down */
THERMAL_DEVICE_UP, /* Thermal device is up after a down event */
THERMAL_DEVICE_POWER_CAPABILITY_CHANGED, /* power capability changed */
+ THERMAL_TABLE_CHANGED, /* Thermal table(s) changed */
};
struct thermal_zone_device_ops {