aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pm_opp.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2019-02-08 09:37:09 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2019-02-08 09:37:09 +0530
commit7c139d3f0f9975656764081c5171258d19b2b519 (patch)
treef99649287d9dcf5c05976d861ff1cbe7816208b3 /include/linux/pm_opp.h
parentcpufreq: qcom: Read voltage LUT and populate OPP (diff)
parentPM / OPP: Introduce a power estimation helper (diff)
downloadlinux-dev-7c139d3f0f9975656764081c5171258d19b2b519.tar.xz
linux-dev-7c139d3f0f9975656764081c5171258d19b2b519.zip
Merge branch 'opp/power' into cpufreq/qcom-hw
Diffstat (limited to 'include/linux/pm_opp.h')
-rw-r--r--include/linux/pm_opp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/pm_opp.h b/include/linux/pm_opp.h
index b895f4e79868..c9c76310865a 100644
--- a/include/linux/pm_opp.h
+++ b/include/linux/pm_opp.h
@@ -327,6 +327,7 @@ int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpuma
struct device_node *dev_pm_opp_of_get_opp_desc_node(struct device *dev);
struct device_node *dev_pm_opp_get_of_node(struct dev_pm_opp *opp);
int of_get_required_opp_performance_state(struct device_node *np, int index);
+void dev_pm_opp_of_register_em(struct cpumask *cpus);
#else
static inline int dev_pm_opp_of_add_table(struct device *dev)
{
@@ -365,6 +366,11 @@ static inline struct device_node *dev_pm_opp_get_of_node(struct dev_pm_opp *opp)
{
return NULL;
}
+
+static inline void dev_pm_opp_of_register_em(struct cpumask *cpus)
+{
+}
+
static inline int of_get_required_opp_performance_state(struct device_node *np, int index)
{
return -ENOTSUPP;