diff options
author | Quentin Perret <qperret@google.com> | 2019-10-30 18:14:50 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2019-11-07 09:02:40 +0300 |
commit | 5a4e5b78956a570cd827f74e4b94d506d13b37b0 (patch) | |
tree | e9f6e9d181f240f588c0656964328253c4743dda /drivers/thermal/Kconfig | |
parent | 27a47e422ef3cb09f6a428e2b05eb79079506875 (diff) | |
download | linux-5a4e5b78956a570cd827f74e4b94d506d13b37b0.tar.xz |
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.
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20191030151451.7961-4-qperret@google.com
Diffstat (limited to 'drivers/thermal/Kconfig')
0 files changed, 0 insertions, 0 deletions