summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-12-21 10:44:44 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2024-12-21 10:44:44 -0800
commitbe6bb3619eeda0cd3a52ead9e63c5795ac87f0c5 (patch)
tree7861a8d19b65baa4b0a4d6e7cd9f684fbbbc02dc /include
parent5100b6f9e7bfc520e8129a5042a4bdd7dd486df6 (diff)
parent4feaedf7d243f1a9af36dfb2711a5641fe3559dc (diff)
Merge tag 'thermal-6.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull thermal control fixes from Rafael Wysocki: "Fix two issues with the user thermal thresholds feature introduced in this development cycle (Daniel Lezcano)" * tag 'thermal-6.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: thermal/thresholds: Fix boundaries and detection routine thermal/thresholds: Fix uapi header macros leading to a compilation error
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/thermal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/thermal.h b/include/uapi/linux/thermal.h
index ba8604bdf206..349718c271eb 100644
--- a/include/uapi/linux/thermal.h
+++ b/include/uapi/linux/thermal.h
@@ -3,8 +3,8 @@
#define _UAPI_LINUX_THERMAL_H
#define THERMAL_NAME_LENGTH 20
-#define THERMAL_THRESHOLD_WAY_UP BIT(0)
-#define THERMAL_THRESHOLD_WAY_DOWN BIT(1)
+#define THERMAL_THRESHOLD_WAY_UP 0x1
+#define THERMAL_THRESHOLD_WAY_DOWN 0x2
enum thermal_device_mode {
THERMAL_DEVICE_DISABLED = 0,