summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2025-09-06 02:00:53 +0200
committerTom Rini <[email protected]>2025-09-16 16:13:05 -0600
commit27fc6a67a4ca0ab565a1135a30b1e132de3bbed8 (patch)
tree6be9708a9ff67036b626bb9eecdaa035c83f50a4 /drivers
parent7be74f63f7ebeec1665a4f0f1cf3e41c5444518d (diff)
thermal: sandbox: Staticize sandbox_thermal_get_temp()
Make sandbox_thermal_get_temp() static, since this is not called outside of the driver. No functional change. Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/thermal/thermal_sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/thermal_sandbox.c b/drivers/thermal/thermal_sandbox.c
index 9af0d0247cb..b7c567d76cd 100644
--- a/drivers/thermal/thermal_sandbox.c
+++ b/drivers/thermal/thermal_sandbox.c
@@ -9,7 +9,7 @@
#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;