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

PM / EM: Expose perf domain struct



In the current state, the perf_domain struct is fully defined only when
CONFIG_ENERGY_MODEL=y. Since we need to write code that compiles both
with or without that option in the thermal framework, make sure to
actually define the struct regardless of the config option. That allows
to avoid using stubbed accessor functions all the time in code paths
that use the EM.

Signed-off-by: default avatarQuentin Perret <quentin.perret@arm.com>
parent 02ceb0ab
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