diff options
Diffstat (limited to 'drivers/hwmon/ntc_thermistor.c')
-rw-r--r-- | drivers/hwmon/ntc_thermistor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ntc_thermistor.c b/drivers/hwmon/ntc_thermistor.c index dc0b76c5e302..feed30646d91 100644 --- a/drivers/hwmon/ntc_thermistor.c +++ b/drivers/hwmon/ntc_thermistor.c | |||
@@ -477,7 +477,7 @@ static int ntc_thermistor_get_ohm(struct ntc_data *data) | |||
477 | return -EINVAL; | 477 | return -EINVAL; |
478 | } | 478 | } |
479 | 479 | ||
480 | static int ntc_read_temp(void *dev, long *temp) | 480 | static int ntc_read_temp(void *dev, int *temp) |
481 | { | 481 | { |
482 | struct ntc_data *data = dev_get_drvdata(dev); | 482 | struct ntc_data *data = dev_get_drvdata(dev); |
483 | int ohm; | 483 | int ohm; |