]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
thermal: sandbox: Staticize sandbox_thermal_get_temp()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 6 Sep 2025 00:00:53 +0000 (02:00 +0200)
committerTom 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

index 9af0d0247cbdb6b4efb4f6d1336646cad726615c..b7c567d76cd75e1bddd5ef60369814151eccf35e 100644 (file)
@@ -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;