Changeset 1812

Show
Ignore:
Timestamp:
06/23/03 02:56:25 (12 years ago)
Author:
mds
Message:

restore functionality call that shouldn't have been removed

in cleanup. Dummy adapters must return 0, otherwise they
will get assigned every functionality!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/busses/i2c-isa.c

    r1705 r1812  
    3232#include "version.h" 
    3333 
     34static u32 isa_func(struct i2c_adapter *adapter); 
     35 
    3436/* This is the actual algorithm we define */ 
    3537static struct i2c_algorithm isa_algorithm = { 
    3638        .name           = "ISA bus algorithm", 
    3739        .id             = I2C_ALGO_ISA, 
     40        .functionality  = isa_func, 
    3841}; 
    3942 
     
    4548        .algo           = &isa_algorithm, 
    4649}; 
     50 
     51/* We can't do a thing... */ 
     52static u32 isa_func(struct i2c_adapter *adapter) 
     53{ 
     54        return 0; 
     55} 
    4756 
    4857static int __init i2c_isa_init(void)