--- zzzz-none-000/linux-4.4.271/drivers/thermal/thermal_core.h 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/drivers/thermal/thermal_core.h 2023-04-19 10:22:29.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