mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-03 13:38:25 +00:00
Fixed i2c-core.c kernel 2.3.x modifications to work again with kernel
2.0.x git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@471 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
18a07111cd
commit
ed9ebe477b
1 file changed
+1
-1
+1
-1
@@ -27,7 +27,7 @@
|
||||
|
||||
#include "i2c.h"
|
||||
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,3,1))
|
||||
#if LINUX_VERSION_CODE < 0x020301
|
||||
#define init_MUTEX(s) do { *(s) = MUTEX; } while(0)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user