diff options
Diffstat (limited to 'drivers/hwmon/lm87.c')
-rw-r--r-- | drivers/hwmon/lm87.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/lm87.c b/drivers/hwmon/lm87.c index d0d2464c1b73..dca996de4c33 100644 --- a/drivers/hwmon/lm87.c +++ b/drivers/hwmon/lm87.c | |||
@@ -57,8 +57,8 @@ | |||
57 | #include <linux/slab.h> | 57 | #include <linux/slab.h> |
58 | #include <linux/jiffies.h> | 58 | #include <linux/jiffies.h> |
59 | #include <linux/i2c.h> | 59 | #include <linux/i2c.h> |
60 | #include <linux/i2c-vid.h> | ||
61 | #include <linux/hwmon.h> | 60 | #include <linux/hwmon.h> |
61 | #include <linux/hwmon-vid.h> | ||
62 | #include <linux/err.h> | 62 | #include <linux/err.h> |
63 | 63 | ||
64 | /* | 64 | /* |
@@ -694,7 +694,7 @@ static void lm87_init_client(struct i2c_client *client) | |||
694 | u8 config; | 694 | u8 config; |
695 | 695 | ||
696 | data->channel = lm87_read_value(client, LM87_REG_CHANNEL_MODE); | 696 | data->channel = lm87_read_value(client, LM87_REG_CHANNEL_MODE); |
697 | data->vrm = i2c_which_vrm(); | 697 | data->vrm = vid_which_vrm(); |
698 | 698 | ||
699 | config = lm87_read_value(client, LM87_REG_CONFIG); | 699 | config = lm87_read_value(client, LM87_REG_CONFIG); |
700 | if (!(config & 0x01)) { | 700 | if (!(config & 0x01)) { |