mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-27 20:48:22 +00:00
put #ifdefs around lm87_ain() to eliminate compile warnings
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1116 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
7d0c01b309
commit
4c88636964
1 file changed
+4
@@ -287,8 +287,10 @@ static void lm87_init_client(struct i2c_client *client);
|
||||
|
||||
static void lm87_in(struct i2c_client *client, int operation,
|
||||
int ctl_name, int *nrels_mag, long *results);
|
||||
#if defined (LM87_AIN1) || defined (LM87_AIN2)
|
||||
static void lm87_ain(struct i2c_client *client, int operation,
|
||||
int ctl_name, int *nrels_mag, long *results);
|
||||
#endif
|
||||
static void lm87_fan(struct i2c_client *client, int operation,
|
||||
int ctl_name, int *nrels_mag, long *results);
|
||||
static void lm87_temp(struct i2c_client *client, int operation,
|
||||
@@ -776,6 +778,7 @@ void lm87_in(struct i2c_client *client, int operation, int ctl_name,
|
||||
}
|
||||
}
|
||||
|
||||
#if defined (LM87_AIN1) || defined (LM87_AIN2)
|
||||
void lm87_ain(struct i2c_client *client, int operation, int ctl_name,
|
||||
int *nrels_mag, long *results)
|
||||
{
|
||||
@@ -820,6 +823,7 @@ void lm87_ain(struct i2c_client *client, int operation, int ctl_name,
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void lm87_fan(struct i2c_client *client, int operation, int ctl_name,
|
||||
int *nrels_mag, long *results)
|
||||
|
||||
Reference in new issue
Block a user