--- zzzz-none-000/linux-4.9.231/drivers/thermal/thermal_core.h 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5590-729/linux-4.9.231/drivers/thermal/thermal_core.h 2022-03-30 12:03:35.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