diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-12-21 10:44:44 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-12-21 10:44:44 -0800 |
| commit | be6bb3619eeda0cd3a52ead9e63c5795ac87f0c5 (patch) | |
| tree | 7861a8d19b65baa4b0a4d6e7cd9f684fbbbc02dc /include | |
| parent | Merge tag 'acpi-6.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ra... (diff) | |
| parent | thermal/thresholds: Fix boundaries and detection routine (diff) | |
| download | linux-be6bb3619eeda0cd3a52ead9e63c5795ac87f0c5.tar.gz linux-be6bb3619eeda0cd3a52ead9e63c5795ac87f0c5.zip | |
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.h | 4 |
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, |
