]> git.sur5r.net Git - groeck-it87/blobdiff - compat.h
Introduce FEAT_NEW_TEMPMAP
[groeck-it87] / compat.h
index e8578005a88684772d4405234f18563d7ce1dedd..29ccdb7f3ece2eb6aa532c5dd71dea8a02be9d6a 100644 (file)
--- a/compat.h
+++ b/compat.h
@@ -9,6 +9,12 @@
 #ifndef COMPAT_H
 #define COMPAT_H
 
+#include <linux/version.h>
+
+#ifndef clamp_val
+#define clamp_val SENSORS_LIMIT
+#endif
+
 #ifndef request_muxed_region
 #if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 28)
 #define request_muxed_region(start,n,name)     __request_region(&ioport_resource, (start), (n), (name))