thermal: Fix cdev registration with THERMAL_NO_LIMIT on 64bit
[linux-2.6-microblaze.git] / include / dt-bindings / thermal / thermal.h
index 59822a9..b5e6b00 100644 (file)
@@ -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