--- zzzz-none-000/linux-4.9.276/drivers/thermal/thermal_core.h 2021-07-20 14:21:16.000000000 +0000 +++ falcon-5530-750/linux-4.9.276/drivers/thermal/thermal_core.h 2023-04-05 08:19:02.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