Show
Ignore:
Timestamp:
11/23/98 23:34:34 (15 years ago)
Author:
frodo
Message:

isa module added, some bugfixes

'isa.o' is roughly what was called 'sensor.o' in doc/design.

Files:
1 modified

Legend:

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

    r11 r12  
    2121#include <linux/kernel.h> 
    2222 
     23#include "i2c.h" 
    2324#ifdef SPINLOCK 
    2425#include <asm/spinlock.h> 
     
    157158} 
    158159 
    159 /* Next: define SMBus variants of registering. Very boring. To make it possible 
    160    to change these definitions in the future without recompiling all modules, 
    161    we do not define them as inline. */ 
    162 int smbus_add_algorithm(struct smbus_algorithm *algorithm) 
    163 { 
    164   return i2c_add_algorithm( (struct i2c_algorithm *) algorithm); 
    165 } 
    166  
    167 int smbus_del_algorithm(struct smbus_algorithm *algorithm) 
    168 { 
    169   return i2c_del_algorithm( (struct i2c_algorithm *) algorithm); 
    170 } 
    171  
    172 int smbus_add_adapter(struct smbus_adapter *adapter) 
    173 { 
    174   return i2c_add_adapter( (struct i2c_adapter *) adapter); 
    175 } 
    176  
    177 int smbus_del_adapter(struct smbus_adapter *adapter) 
    178 { 
    179   return i2c_del_adapter( (struct i2c_adapter *) adapter); 
    180 } 
    181  
    182 int smbus_add_driver(struct smbus_driver *driver) 
    183 { 
    184   return i2c_add_driver( (struct i2c_driver *) driver); 
    185 } 
    186  
    187 int smbus_del_driver(struct smbus_driver *driver) 
    188 { 
    189   return i2c_del_driver( (struct i2c_driver *) driver); 
    190 } 
    191  
    192 int smbus_attach_client(struct smbus_client *client) 
    193 { 
    194   return i2c_attach_client( (struct i2c_client *) client); 
    195 } 
    196  
    197 int smbus_detach_client(struct smbus_client *client) 
    198 { 
    199   return i2c_detach_client( (struct i2c_client *) client); 
    200 } 
    201  
    202160int smbus_init(void) 
    203161{