]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
tools: lib: thermal: expose thermal_exit symbols
authorEmil Dahl Juhl <juhl.emildahl@gmail.com>
Wed, 1 Oct 2025 11:40:57 +0000 (13:40 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 3 Oct 2025 19:26:00 +0000 (21:26 +0200)
Remove duplicate entry for thermal_init and add the missing entries for
thermal_exit and their respectives in cmd, events, and sampling context.

Signed-off-by: Emil Dahl Juhl <juhl.emildahl@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/lib/thermal/libthermal.map

index d657176aa47fb52f2db0178069624d2feb9d0c27..1d3d0c04e4b6125f81e6e670fe3c10ab79e681d6 100644 (file)
@@ -1,6 +1,5 @@
 LIBTHERMAL_0.0.1 {
        global:
-               thermal_init;
                for_each_thermal_zone;
                for_each_thermal_trip;
                for_each_thermal_cdev;
@@ -9,9 +8,12 @@ LIBTHERMAL_0.0.1 {
                thermal_zone_find_by_id;
                thermal_zone_discover;
                thermal_init;
+               thermal_exit;
+               thermal_events_exit;
                thermal_events_init;
                thermal_events_handle;
                thermal_events_fd;
+               thermal_cmd_exit;
                thermal_cmd_init;
                thermal_cmd_get_tz;
                thermal_cmd_get_cdev;
@@ -22,6 +24,7 @@ LIBTHERMAL_0.0.1 {
                thermal_cmd_threshold_add;
                thermal_cmd_threshold_delete;
                thermal_cmd_threshold_flush;
+               thermal_sampling_exit;
                thermal_sampling_init;
                thermal_sampling_handle;
                thermal_sampling_fd;