Show
Ignore:
Timestamp:
06/02/99 20:19:38 (14 years ago)
Author:
frodo
Message:

Bradley M. Keryan's patches to make lm_sensors compile against
2.3.x kernels (x >= 1).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/chips/adm1021.c

    r395 r467  
    2727#include "i2c-isa.h" 
    2828#include "version.h" 
     29#include "compat.h" 
    2930 
    3031/* Addresses to scan */ 
     
    270271  new_client->id = i; 
    271272  data->valid = 0; 
    272   data->update_lock = MUTEX; 
     273  init_MUTEX(&data->update_lock); 
    273274 
    274275  /* Tell the I2C layer a new client has arrived */