]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
PM / OPP: Export opp_add()
authorViresh Kumar <viresh.kumar@linaro.org>
Sat, 3 Aug 2013 23:23:41 +0000 (01:23 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 3 Aug 2013 23:23:41 +0000 (01:23 +0200)
Export opp_add() so that modules can use it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp.c

index c8ec186303db29308f1091db8d5a2bcff01dc53c..ef89897c6043eec57ed2d8d1f4c6db464cfd92d1 100644 (file)
@@ -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