summaryrefslogtreecommitdiff
path: root/drivers/thermal/Kconfig
diff options
context:
space:
mode:
authorQuentin Perret <qperret@google.com>2019-10-30 18:14:50 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2019-11-07 09:02:40 +0300
commit5a4e5b78956a570cd827f74e4b94d506d13b37b0 (patch)
treee9f6e9d181f240f588c0656964328253c4743dda /drivers/thermal/Kconfig
parent27a47e422ef3cb09f6a428e2b05eb79079506875 (diff)
downloadlinux-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