git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7be74f6
)
thermal: sandbox: Staticize sandbox_thermal_get_temp()
author
Marek Vasut
<marek.vasut+renesas@mailbox.org>
Sat, 6 Sep 2025 00:00:53 +0000
(
02:00
+0200)
committer
Tom Rini
<trini@konsulko.com>
Tue, 16 Sep 2025 22:13:05 +0000
(16:13 -0600)
Make sandbox_thermal_get_temp() static, since this is not called
outside of the driver. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/thermal/thermal_sandbox.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/thermal_sandbox.c
b/drivers/thermal/thermal_sandbox.c
index
9af0d02
..
b7c567d
100644
(file)
--- 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;