summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/thermal/kirkwood_thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/thermal/kirkwood_thermal.c')
-rw-r--r--kernel/drivers/thermal/kirkwood_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/thermal/kirkwood_thermal.c b/kernel/drivers/thermal/kirkwood_thermal.c
index 11041fe63..892236621 100644
--- a/kernel/drivers/thermal/kirkwood_thermal.c
+++ b/kernel/drivers/thermal/kirkwood_thermal.c
@@ -33,7 +33,7 @@ struct kirkwood_thermal_priv {
};
static int kirkwood_get_temp(struct thermal_zone_device *thermal,
- unsigned long *temp)
+ int *temp)
{
unsigned long reg;
struct kirkwood_thermal_priv *priv = thermal->devdata;