aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorLukasz Luba <[email protected]>2022-03-02 11:29:15 +0000
committerViresh Kumar <[email protected]>2022-03-03 09:35:04 +0530
commitcaeea9e6671984c3865918459d756b961a24bb49 (patch)
treec7f3acb38b3efa8d88e40a66d118f1614d0e27b0 /include/linux/fpga/fpga-bridge.h
parent4f9a7a1dc2a294c5c5c4b0246e2281e6ec88fb91 (diff)
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: kernel test robot <[email protected]> Signed-off-by: Lukasz Luba <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions