mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-13 17:00:15 +00:00
Update to the latest (mod-19990118) kernel archive
I really hope I did not forget an add or remove. If strange things happen when you compile, please let me know. There may still be problems with the EXPORT_* stuff; it seems to work now for kernel 2.0.36pre19, but it may give trouble for earlier kernels. We need to check that. Some i2c modules may be a bit verbose at this moment. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@184 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
a9ed098e1a
commit
634cb32ac0
18 files changed
+62
-264
No files matched your search
@@ -54,8 +54,8 @@ union smbus_data {
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
/* SPINLOCK is defined in i2c.h. */
|
||||
#ifdef SPINLOCK
|
||||
/* I2C_SPINLOCK is defined in i2c.h. */
|
||||
#ifdef I2C_SPINLOCK
|
||||
#include <asm/spinlock.h>
|
||||
#else
|
||||
#include <asm/semaphore.h>
|
||||
@@ -118,14 +118,14 @@ struct smbus_algorithm {
|
||||
|
||||
/* An adapter is a specifc instance of a bus: for each detected bus, there will
|
||||
be an adapter. Its operation is controlled by an algorithm.
|
||||
SPINLOCK must be the same as declared in i2c.h.
|
||||
I2C_SPINLOCK must be the same as declared in i2c.h.
|
||||
This structure is an extension of i2c_algorithm. */
|
||||
struct smbus_adapter {
|
||||
char name[32];
|
||||
unsigned int id;
|
||||
struct smbus_algorithm *algo;
|
||||
void *data;
|
||||
#ifdef SPINLOCK
|
||||
#ifdef I2C_SPINLOCK
|
||||
spinlock_t lock;
|
||||
unsigned long lockflags;
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user