mirror of
https://github.com/commaai/agnos-kernel-sdm845.git
synced 2026-06-14 06:15:17 +08:00
The struct devfreq_cooling_power is defined only if the devfreq driver's kernel config flag is defined. Drivers using the devfreq cooling device APIs without having the devfreq kconfig flag enabled will have compilation errors because the struct devfreq_cooling_power will not be defined. To avoid this, define the struct devfreq_cooling_power and make it available even when devfreq kernel config flag is not enabled. Change-Id: I39973c0bbd3f760dc9ce557e8f7308df7b564fad Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2.5 KiB
2.5 KiB