diff options
Diffstat (limited to 'kernel/drivers/thermal/tegra_soctherm.c')
-rw-r--r-- | kernel/drivers/thermal/tegra_soctherm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/thermal/tegra_soctherm.c b/kernel/drivers/thermal/tegra_soctherm.c index 9197fc05c..74ea57659 100644 --- a/kernel/drivers/thermal/tegra_soctherm.c +++ b/kernel/drivers/thermal/tegra_soctherm.c @@ -293,7 +293,7 @@ static int enable_tsensor(struct tegra_soctherm *tegra, * H denotes an addition of 0.5 Celsius and N denotes negation * of the final value. */ -static long translate_temp(u16 val) +static int translate_temp(u16 val) { long t; @@ -306,7 +306,7 @@ static long translate_temp(u16 val) return t; } -static int tegra_thermctl_get_temp(void *data, long *out_temp) +static int tegra_thermctl_get_temp(void *data, int *out_temp) { struct tegra_thermctl_zone *zone = data; u32 val; |