summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@codeaurora.org>2015-08-13 09:21:57 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-08-29 02:53:37 +0300
commitbe5ed55de011bddbb8ef7b3453edf07a26865beb (patch)
tree1718916373ac20e07d5ecbc62fe7c2bf94dfea10 /drivers/base
parent15dec67ae3ddb222fe6907db299229906ede8143 (diff)
downloadlinux-be5ed55de011bddbb8ef7b3453edf07a26865beb.tar.xz
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 <rnayak@codeaurora.org> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/power/domain.c1
1 files changed, 1 insertions, 0 deletions
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
/*