From d60ee966b260331d1e76f73cd97f9563d2278b10 Mon Sep 17 00:00:00 2001 From: Stephen Boyd Date: Thu, 1 Oct 2015 12:22:53 -0700 Subject: [PATCH] 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 Cc: Rajendra Nayak Cc: Kevin Hilman Cc: Ulf Hansson Acked-by: Rafael J. Wysocki Signed-off-by: Stephen Boyd --- drivers/base/power/domain.c | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.20.1