summaryrefslogtreecommitdiffstats
path: root/drivers/base/power
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2014-12-24 11:22:55 -0600
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-01-23 22:28:24 +0100
commit4679ec3727a0eb4d57e23dffa8e19ce911362c9f (patch)
tree15833c2bf5103857d27548a91d064e3acab72427 /drivers/base/power
parentec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cc (diff)
downloadop-kernel-dev-4679ec3727a0eb4d57e23dffa8e19ce911362c9f.zip
op-kernel-dev-4679ec3727a0eb4d57e23dffa8e19ce911362c9f.tar.gz
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>
Diffstat (limited to 'drivers/base/power')
-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 106c693..435c94e 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)
return &dev_opp->srcu_head;
}
+EXPORT_SYMBOL_GPL(dev_pm_opp_get_notifier);
#ifdef CONFIG_OF
/**
OpenPOWER on IntegriCloud