--- zzzz-none-000/linux-5.4.213/drivers/thermal/thermal_core.h 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/drivers/thermal/thermal_core.h 2024-08-14 09:02:08.000000000 +0000 @@ -15,6 +15,15 @@ /* 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); + /* Init section thermal table */ extern struct thermal_governor *__governor_thermal_table[]; extern struct thermal_governor *__governor_thermal_table_end[];