linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] OPP: Export opp_add()
@ 2013-08-03  9:25 Viresh Kumar
  2013-08-05 12:29 ` Nishanth Menon
  2013-08-06 12:53 ` Randy Dunlap
  0 siblings, 2 replies; 10+ messages in thread
From: Viresh Kumar @ 2013-08-03  9:25 UTC (permalink / raw)
  To: rjw, pavel; +Cc: linaro-kernel, patches, linux-pm, linux-kernel, Viresh Kumar

Export opp_add() so that modules can use it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 drivers/base/power/opp.c | 1 +
 1 file changed, 1 insertion(+)

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
-- 
1.7.12.rc2.18.g61b472e


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-08-08 12:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-03  9:25 [PATCH] OPP: Export opp_add() Viresh Kumar
2013-08-05 12:29 ` Nishanth Menon
2013-08-05 12:47   ` Rafael J. Wysocki
2013-08-06  4:48     ` Viresh Kumar
2013-08-06 12:53 ` Randy Dunlap
2013-08-06 13:08   ` OPP: rename functions? (was [PATCH] OPP: Export opp_add()) Nishanth Menon
2013-08-06 14:15     ` Rafael J. Wysocki
2013-08-07 15:48       ` Nishanth Menon
2013-08-07 22:53         ` Rafael J. Wysocki
2013-08-08 12:00           ` Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).