--- zzzz-none-000/linux-4.9.231/drivers/thermal/thermal_core.h 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5530-730/linux-4.9.231/drivers/thermal/thermal_core.h 2022-08-31 08:19:49.000000000 +0000 @@ -30,6 +30,14 @@ /* Initial state of a cooling device during binding */ #define THERMAL_NO_TARGET -1UL +int for_each_thermal_zone(int (*cb)(struct thermal_zone_device *, void *), + void *); + +int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *, + void *), void *); + +int for_each_thermal_governor(int (*cb)(struct thermal_governor *, void *), + void *thermal_governor); /* * This structure is used to describe the behavior of * a certain cooling device on a certain trip point