Removing kernel 2.0 and 2.1 compatibility pass 2

Eliminated compat.h


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@705 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 2000-01-24 20:07:29 +00:00
1 parent 9480bb5988
commit 888d32f50b
28 files changed
+187 -250

No files matched your search

+8
View File
@@ -38,6 +38,14 @@
#include <linux/init.h>
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,3,1))
#define init_MUTEX(s) do { *(s) = MUTEX; } while(0)
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,13)
#define THIS_MODULE NULL
#endif
/* Many constants specified below */
#define ICSPLL_SIZE 7