Bradley M. Keryan's patches to make lm_sensors compile against

2.3.x kernels (x >= 1).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@467 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1999-06-02 18:19:38 +00:00
1 parent 9e9a78774a
commit f1888417ca
17 files changed
+36 -18

No files matched your search

+2 -2
View File
@@ -693,7 +693,7 @@ int w83781d_detect(struct i2c_adapter *adapter, int address, int kind)
data = (struct w83781d_data *) (((struct i2c_client *) new_client) + 1);
new_client->addr = address;
}
data->lock = MUTEX;
init_MUTEX(&data->lock);
new_client->data = data;
new_client->adapter = adapter;
new_client->driver = &w83781d_driver;
@@ -777,7 +777,7 @@ int w83781d_detect(struct i2c_adapter *adapter, int address, int kind)
w83781d_list[i] = new_client;
new_client->id = i;
data->valid = 0;
data->update_lock = MUTEX;
init_MUTEX(&data->update_lock);
/* Tell the I2C layer a new client has arrived */
if ((err = i2c_attach_client(new_client)))