diff options
author | Quentin Perret <[email protected]> | 2019-10-30 15:14:50 +0000 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2019-11-07 07:02:40 +0100 |
commit | 5a4e5b78956a570cd827f74e4b94d506d13b37b0 (patch) | |
tree | e9f6e9d181f240f588c0656964328253c4743dda /lib/memory-notifier-error-inject.c | |
parent | 27a47e422ef3cb09f6a428e2b05eb79079506875 (diff) |
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 <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Suggested-by: Daniel Lezcano <[email protected]>
Signed-off-by: Quentin Perret <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions