From: Rajendra Nayak Date: Thu, 13 Aug 2015 06:21:57 +0000 (+0530) Subject: PM / Domains: Make pm_genpd_init() available to modules X-Git-Tag: firefly_0821_release~176^2~1072^2^4~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=be5ed55de011bddbb8ef7b3453edf07a26865beb;p=firefly-linux-kernel-4.4.55.git 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 --- 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 /*