Changeset 1116

Show
Ignore:
Timestamp:
06/04/01 00:01:49 (12 years ago)
Author:
mds
Message:

put #ifdefs around lm87_ain() to eliminate compile warnings

Files:
1 modified

Legend:

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

    r1101 r1116  
    288288static void lm87_in(struct i2c_client *client, int operation, 
    289289                       int ctl_name, int *nrels_mag, long *results); 
     290#if defined (LM87_AIN1) || defined (LM87_AIN2) 
    290291static void lm87_ain(struct i2c_client *client, int operation, 
    291292                       int ctl_name, int *nrels_mag, long *results); 
     293#endif 
    292294static void lm87_fan(struct i2c_client *client, int operation, 
    293295                        int ctl_name, int *nrels_mag, long *results); 
     
    777779} 
    778780 
     781#if defined (LM87_AIN1) || defined (LM87_AIN2) 
    779782void lm87_ain(struct i2c_client *client, int operation, int ctl_name, 
    780783                int *nrels_mag, long *results) 
     
    821824        } 
    822825} 
     826#endif 
    823827 
    824828void lm87_fan(struct i2c_client *client, int operation, int ctl_name,