summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-10-01 21:22:53 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-10-09 08:52:55 +0200
commitd60ee966b260331d1e76f73cd97f9563d2278b10 (patch)
tree7e94c73d65210160dcb3e4ce90b22eb9c73f0c35
parentAdd driver for the si514 clock generator chip (diff)
downloadlinux-d60ee966b260331d1e76f73cd97f9563d2278b10.tar.xz
linux-d60ee966b260331d1e76f73cd97f9563d2278b10.zip
PM / Domains: Make pm_genpd_{add,remove}_subdomain() available to modules
Export these symbols so they can be used in loadable kernel modules. Cc: Rob Clark <robdclark@gmail.com> Cc: Rajendra Nayak <rnayak@codeaurora.org> Cc: Kevin Hilman <khilman@kernel.org> Cc: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Rafael J. Wysocki <rjw@rjwysocki.net> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
-rw-r--r--drivers/base/power/domain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index 16550c63d611..222ce890124e 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -1427,6 +1427,7 @@ int pm_genpd_add_subdomain(struct generic_pm_domain *genpd,
return ret;
}
+EXPORT_SYMBOL_GPL(pm_genpd_add_subdomain);
/**
* pm_genpd_add_subdomain_names - Add a subdomain to an I/O PM domain.
@@ -1503,6 +1504,7 @@ out:
return ret;
}
+EXPORT_SYMBOL_GPL(pm_genpd_remove_subdomain);
/**
* pm_genpd_attach_cpuidle - Connect the given PM domain with cpuidle.