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 -1
View File
@@ -26,6 +26,7 @@
#include "i2c.h"
#include "i2c-isa.h"
#include "version.h"
#include "compat.h"
/* Addresses to scan */
static unsigned short normal_i2c[] = {SENSORS_I2C_END};
@@ -224,7 +225,7 @@ int eeprom_detect(struct i2c_adapter *adapter, int address, int kind)
eeprom_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)))