--- zzzz-none-000/linux-4.9.325/drivers/thermal/thermal_core.h 2022-07-29 15:05:48.000000000 +0000 +++ seale-7590ax-800/linux-4.9.325/drivers/thermal/thermal_core.h 2024-09-18 09:50:47.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