projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
thermal: Fix cdev registration with THERMAL_NO_LIMIT on 64bit
[firefly-linux-kernel-4.4.55.git]
/
include
/
dt-bindings
/
thermal
/
thermal.h
diff --git
a/include/dt-bindings/thermal/thermal.h
b/include/dt-bindings/thermal/thermal.h
index 59822a9958581dc5a1871ec3bc02c756656a836e..b5e6b0069ac7703b927a0c040ffcbd764c1afd89 100644
(file)
--- 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