summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2013-08-04 01:23:41 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-06 16:08:28 +0200
commitb071f2b21acf27c2fddd36aa193e015033b9c357 (patch)
treee1046e5cdd56ae1864d9a536e68d5db19c33056b /drivers/base
parent5ae90d8e467e625e447000cb4335c4db973b1095 (diff)
downloadop-kernel-dev-b071f2b21acf27c2fddd36aa193e015033b9c357.zip
op-kernel-dev-b071f2b21acf27c2fddd36aa193e015033b9c357.tar.gz
PM / OPP: Export opp_add()
Export opp_add() so that modules can use it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Nishanth Menon <nm@ti.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base')
-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 c8ec186..ef89897 100644
--- a/drivers/base/power/opp.c
+++ b/drivers/base/power/opp.c
@@ -460,6 +460,7 @@ int opp_add(struct device *dev, unsigned long freq, unsigned long u_volt)
srcu_notifier_call_chain(&dev_opp->head, OPP_EVENT_ADD, new_opp);
return 0;
}
+EXPORT_SYMBOL_GPL(opp_add);
/**
* opp_set_availability() - helper to set the availability of an opp
OpenPOWER on IntegriCloud