summaryrefslogtreecommitdiff
path: root/drivers/thermal/thermal_sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal/thermal_sandbox.c')
-rw-r--r--drivers/thermal/thermal_sandbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/thermal_sandbox.c b/drivers/thermal/thermal_sandbox.c
index 9af0d0247cb..2e1f1559e53 100644
--- a/drivers/thermal/thermal_sandbox.c
+++ b/drivers/thermal/thermal_sandbox.c
@@ -9,10 +9,10 @@
#include <dm.h>
#include <thermal.h>
-int sandbox_thermal_get_temp(struct udevice *dev, int *temp)
+static int sandbox_thermal_get_temp(struct udevice *dev, int *temp)
{
/* Simply return 100 deg C */
- *temp = 100;
+ *temp = 100 * 1000;
return 0;
}