Skip to content
Commit 0409be12 authored by Quentin Perret's avatar Quentin Perret Committed by Douglas Raillard
Browse files

thermal: cpu_cooling: Make the power-related code depend on IPA



The core CPU cooling infrastructure has power-related functions
that have only one client: IPA. Since there can be no user of those
functions if IPA is not compiled in, make sure to guard them with
checks on CONFIG_THERMAL_GOV_POWER_ALLOCATOR to not waste space
unnecessarily.

Suggested-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarQuentin Perret <quentin.perret@arm.com>
parent 7d31db56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment