From: Stephen Boyd Date: Thu, 1 Oct 2015 19:22:53 +0000 (-0700) Subject: PM / Domains: Make pm_genpd_{add,remove}_subdomain() available to modules X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d60ee966b260331d1e76f73cd97f9563d2278b10;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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.