]> git.sur5r.net Git - groeck-nct6775/blobdiff - compat.h
nct6775: Use clamp_val instead of SENSORS_LIMIT
[groeck-nct6775] / compat.h
index d51239777cd106336f812c1e3dabbd93d8f16525..03cb1ff2d54499c98a0c570c524cace8766f494b 100644 (file)
--- a/compat.h
+++ b/compat.h
@@ -9,6 +9,10 @@
 #ifndef COMPAT_H
 #define COMPAT_H
 
+#ifndef clamp_val
+#define clamp_val SENSORS_LIMIT
+#endif
+
 #ifndef kstrtol
 #define kstrtol strict_strtol
 #endif