Several small patches to make everything compile against all 2.0.x

kernels, even early ones.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@477 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1999-06-09 17:26:32 +00:00
1 parent d42004ee6c
commit 29a33cac35
7 files changed
+34 -1

No files matched your search

+4
View File
@@ -58,8 +58,12 @@ union smbus_data {
#ifdef I2C_SPINLOCK
#include <asm/spinlock.h>
#else
#if LINUX_VERSION_CODE < 0x020019
#include <linux/sched.h>
#else
#include <asm/semaphore.h>
#endif
#endif
#ifdef LM_SENSORS /* TBD */
#include "i2c.h" /* TBD */