* [PATCH v3] PM / Domains: export symbols to add/remove devices from genpd
@ 2015-11-17 19:42 ` Maruthi Srinivas Bayyavarapu
0 siblings, 0 replies; 4+ messages in thread
From: Maruthi Srinivas Bayyavarapu @ 2015-11-17 19:42 UTC (permalink / raw)
To: rjw, khilman, ulf.hansson, pavel, len.brown, gregkh
Cc: broonie, linux-pm, linux-kernel, Maruthi Srinivas Bayyavarapu,
Maruthi Bayyavarapu
Drivers which can be built as loadable module needs symbols
- pm_genpd_add_device/pm_genpd_remove_device to add/remove devices
to/from 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 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index f932058..0c62451 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.
@@ -1302,6 +1303,7 @@ int pm_genpd_remove_device(struct generic_pm_domain *genpd,
return ret;
}
+EXPORT_SYMBOL_GPL(pm_genpd_remove_device);
/**
* pm_genpd_add_subdomain - Add a subdomain to an I/O PM domain.
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v3] PM / Domains: export symbols to add/remove devices from genpd
@ 2015-11-17 19:42 ` Maruthi Srinivas Bayyavarapu
0 siblings, 0 replies; 4+ messages in thread
From: Maruthi Srinivas Bayyavarapu @ 2015-11-17 19:42 UTC (permalink / raw)
To: rjw, khilman, ulf.hansson, pavel, len.brown, gregkh
Cc: broonie, linux-pm, linux-kernel, Maruthi Srinivas Bayyavarapu,
Maruthi Bayyavarapu
Drivers which can be built as loadable module needs symbols
- pm_genpd_add_device/pm_genpd_remove_device to add/remove devices
to/from 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 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index f932058..0c62451 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.
@@ -1302,6 +1303,7 @@ int pm_genpd_remove_device(struct generic_pm_domain *genpd,
return ret;
}
+EXPORT_SYMBOL_GPL(pm_genpd_remove_device);
/**
* pm_genpd_add_subdomain - Add a subdomain to an I/O PM domain.
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v3] PM / Domains: export symbols to add/remove devices from genpd
2015-11-17 19:42 ` Maruthi Srinivas Bayyavarapu
(?)
@ 2015-11-21 15:54 ` Pavel Machek
2015-12-14 23:56 ` Rafael J. Wysocki
-1 siblings, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2015-11-21 15:54 UTC (permalink / raw)
To: Maruthi Srinivas Bayyavarapu
Cc: rjw, khilman, ulf.hansson, len.brown, gregkh, broonie, linux-pm,
linux-kernel
On Wed 2015-11-18 01:12:00, Maruthi Srinivas Bayyavarapu wrote:
> Drivers which can be built as loadable module needs symbols
> - pm_genpd_add_device/pm_genpd_remove_device to add/remove devices
> to/from genpd. Those drivers create platform devices, which comes
> under a powerdomain.
>
> Signed-off-by: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3] PM / Domains: export symbols to add/remove devices from genpd
2015-11-21 15:54 ` Pavel Machek
@ 2015-12-14 23:56 ` Rafael J. Wysocki
0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2015-12-14 23:56 UTC (permalink / raw)
To: Pavel Machek, Maruthi Srinivas Bayyavarapu
Cc: khilman, ulf.hansson, len.brown, gregkh, broonie, linux-pm, linux-kernel
On Saturday, November 21, 2015 04:54:50 PM Pavel Machek wrote:
> On Wed 2015-11-18 01:12:00, Maruthi Srinivas Bayyavarapu wrote:
> > Drivers which can be built as loadable module needs symbols
> > - pm_genpd_add_device/pm_genpd_remove_device to add/remove devices
> > to/from genpd. Those drivers create platform devices, which comes
> > under a powerdomain.
> >
> > Signed-off-by: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>
> Acked-by: Pavel Machek <pavel@ucw.cz>
Applied, thanks!
Rafael
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-12-14 23:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-17 19:42 [PATCH v3] PM / Domains: export symbols to add/remove devices from genpd Maruthi Srinivas Bayyavarapu
2015-11-17 19:42 ` Maruthi Srinivas Bayyavarapu
2015-11-21 15:54 ` Pavel Machek
2015-12-14 23:56 ` Rafael J. Wysocki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.