Skip to content
Commit caeea9e6 authored by Lukasz Luba's avatar Lukasz Luba Committed by Viresh Kumar
Browse files

PM: EM: add macro to set .active_power() callback conditionally



The Energy Model is able to use new power values coming from DT. Add a new
macro which is helpful in setting the .active_power() callback
conditionally in setup time. The dual-macro implementation handles both
kernel configurations: w/ EM and w/o EM built-in.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarLukasz Luba <lukasz.luba@arm.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 4f9a7a1d
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