aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2014-12-24 12:22:55 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-01-23 16:28:24 -0500
commit4679ec3727a0eb4d57e23dffa8e19ce911362c9f (patch)
tree15833c2bf5103857d27548a91d064e3acab72427
parentec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cc (diff)
PM / OPP: export dev_pm_opp_get_notifier
Allows user drivers such as devfreq to be modules. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/base/power/opp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c
index 106c69359306..435c94e93263 100644
--- a/drivers/base/power/opp.c
+++ b/drivers/base/power/opp.c
@@ -742,6 +742,7 @@ struct srcu_notifier_head *dev_pm_opp_get_notifier(struct device *dev)
742 742
743 return &dev_opp->srcu_head; 743 return &dev_opp->srcu_head;
744} 744}
745EXPORT_SYMBOL_GPL(dev_pm_opp_get_notifier);
745 746
746#ifdef CONFIG_OF 747#ifdef CONFIG_OF
747/** 748/**