diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index d71d0458d41fe7335d19cc61beddd2a353fc883e..cf4651a15a5753e57d88f4029a8b1b72438fc4eb 100644 --- a/drivers/base/power/domain.c +++ b/drivers/base/power/domain.c @@ -721,6 +721,13 @@ void pm_genpd_poweroff_unused(void) mutex_unlock(&gpd_list_lock); } +static int __init genpd_poweroff_unused(void) +{ + pm_genpd_poweroff_unused(); + return 0; +} +late_initcall(genpd_poweroff_unused); + #else static inline int genpd_dev_pm_qos_notifier(struct notifier_block *nb,