* [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
* Re: [PATCH v2] PM / Domains: export __pm_genpd_add_device symbol
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
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2015-11-17 16:56 UTC (permalink / raw)
To: Maruthi Srinivas Bayyavarapu
Cc: rjw, khilman, ulf.hansson, len.brown, pavel, gregkh, linux-pm,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 448 bytes --]
On Tue, Nov 17, 2015 at 09:17:29PM +0530, Maruthi Srinivas Bayyavarapu wrote:
> 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.
> +EXPORT_SYMBOL_GPL(__pm_genpd_add_device);
>
> /**
> * pm_genpd_remove_device - Remove a device from an I/O PM domain.
Don't we also need to export _remove_device()?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ 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®