summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/thermal/thermal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dt-bindings/thermal/thermal.h')
-rw-r--r--include/dt-bindings/thermal/thermal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dt-bindings/thermal/thermal.h b/include/dt-bindings/thermal/thermal.h
index 59822a99585..b5e6b0069ac 100644
--- a/include/dt-bindings/thermal/thermal.h
+++ b/include/dt-bindings/thermal/thermal.h
@@ -11,7 +11,7 @@
#define _DT_BINDINGS_THERMAL_THERMAL_H
/* On cooling devices upper and lower limits */
-#define THERMAL_NO_LIMIT (-1UL)
+#define THERMAL_NO_LIMIT (~0)
#endif