mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] PM / Domains: export __pm_genpd_add_device symbol
@ 2015-11-17 15:47 Maruthi Srinivas Bayyavarapu
  2015-11-17 16:56 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Maruthi Srinivas Bayyavarapu @ 2015-11-17 15:47 UTC (permalink / raw)
  To: rjw, khilman, ulf.hansson, len.brown, pavel, gregkh
  Cc: broonie, linux-pm, linux-kernel, Maruthi Srinivas Bayyavarapu,
	Maruthi Bayyavarapu

Drivers which can be built as loadable module needs symbol
- pm_genpd_add_device to add devices to genpd.
Those drivers create platform devices, which comes under a powerdomain.

Signed-off-by: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>
---
 drivers/base/power/domain.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index f932058..cfa59e3 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -1252,6 +1252,7 @@ int __pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev,
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(__pm_genpd_add_device);
 
 /**
  * pm_genpd_remove_device - Remove a device from an I/O PM domain.
-- 
1.9.1


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

end of thread, other threads:[~2015-11-17 16:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-17 15:47 [PATCH v2] PM / Domains: export __pm_genpd_add_device symbol Maruthi Srinivas Bayyavarapu
2015-11-17 16:56 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®