Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools: lib: thermal: expose thermal_exit symbols

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>

authored by

Emil Dahl Juhl and committed by
Rafael J. Wysocki
dea00c20 1375152b

+4 -1
+4 -1
tools/lib/thermal/libthermal.map
··· 1 1 LIBTHERMAL_0.0.1 { 2 2 global: 3 - thermal_init; 4 3 for_each_thermal_zone; 5 4 for_each_thermal_trip; 6 5 for_each_thermal_cdev; ··· 8 9 thermal_zone_find_by_id; 9 10 thermal_zone_discover; 10 11 thermal_init; 12 + thermal_exit; 13 + thermal_events_exit; 11 14 thermal_events_init; 12 15 thermal_events_handle; 13 16 thermal_events_fd; 17 + thermal_cmd_exit; 14 18 thermal_cmd_init; 15 19 thermal_cmd_get_tz; 16 20 thermal_cmd_get_cdev; ··· 24 22 thermal_cmd_threshold_add; 25 23 thermal_cmd_threshold_delete; 26 24 thermal_cmd_threshold_flush; 25 + thermal_sampling_exit; 27 26 thermal_sampling_init; 28 27 thermal_sampling_handle; 29 28 thermal_sampling_fd;