From be5ed55de011bddbb8ef7b3453edf07a26865beb Mon Sep 17 00:00:00 2001 From: Rajendra Nayak Date: Thu, 13 Aug 2015 11:51:57 +0530 Subject: [PATCH] PM / Domains: Make pm_genpd_init() available to modules Export symbol pm_genpd_init so it can be used in loadable kernel modules Signed-off-by: Rajendra Nayak Reported-by: Stephen Rothwell Acked-by: Geert Uytterhoeven Acked-by: Kevin Hilman Signed-off-by: Rafael J. Wysocki --- 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 9bd2b28da1ed..6d465a9352f1 100644 --- a/drivers/base/power/domain.c +++ b/drivers/base/power/domain.c @@ -1716,6 +1716,7 @@ void pm_genpd_init(struct generic_pm_domain *genpd, list_add(&genpd->gpd_list_node, &gpd_list); mutex_unlock(&gpd_list_lock); } +EXPORT_SYMBOL_GPL(pm_genpd_init); #ifdef CONFIG_PM_GENERIC_DOMAINS_OF /* -- 2.34.1