Thread (8 messages) 8 messages, 2 authors, 2018-09-26
STALE2841d
Revisions (2)
  1. v1 current
  2. v2 [diff vs current]

[PATCH 1/5] PM / Domains: Export symbol for genpd_dev_pm_attach_by_name

From: Jon Hunter <jonathanh@nvidia.com>
Date: 2018-09-26 12:27:49
Also in: linux-tegra, lkml
Subsystem: driver core, kobjects, debugfs and sysfs, hibernation (aka software suspend, aka swsusp), power management core, suspend to ram, the rest · Maintainers: Greg Kroah-Hartman, "Rafael J. Wysocki", Danilo Krummrich, Linus Torvalds

Export the symbol for genpd_dev_pm_attach_by_name() so that drivers
built as modules can call this function.

Signed-off-by: Jon Hunter <jonathanh@nvidia.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 4b5714199490..b2bbe0d848d2 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -2397,6 +2397,7 @@ struct device *genpd_dev_pm_attach_by_name(struct device *dev, char *name)
 
 	return genpd_dev_pm_attach_by_id(dev, index);
 }
+EXPORT_SYMBOL_GPL(genpd_dev_pm_attach_by_name);
 
 static const struct of_device_id idle_state_match[] = {
 	{ .compatible = "domain-idle-state", },
-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help