]> git.sur5r.net Git - groeck-nct6775/blob - compat.h
03cb1ff2d54499c98a0c570c524cace8766f494b
[groeck-nct6775] / compat.h
1 /*---------------------------------------------------------------------------
2  * 
3  * compat.h 
4  *     Copyright (c) 2012 Guenter Roeck <linux@roeck-us.net>
5  *
6  *---------------------------------------------------------------------------
7  */
8
9 #ifndef COMPAT_H
10 #define COMPAT_H
11
12 #ifndef clamp_val
13 #define clamp_val SENSORS_LIMIT
14 #endif
15
16 #ifndef kstrtol
17 #define kstrtol strict_strtol
18 #endif
19 #ifndef kstrtoul
20 #define kstrtoul strict_strtoul
21 #endif
22
23 #ifndef request_muxed_region
24 #define request_muxed_region(a, b, c) (true)
25 #define release_region(a, b)
26 #endif
27
28 #endif /* COMPAT_H */